logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

spring boot 之HandlerInterceptor 自动注入

spring boot 之HandlerInterceptor 自动注入spring 环境下,java config方式配置HandlerInterceptor ,我们一般继承org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter,复写方法:publicvoidaddInterc

记录:mysql 批量更新的使用问题,rewriteBatchedStatements

目录一、场景二、问题原因一、场景最近在清洗老数据,为了提高效率,使用了mysql的batch特性:设置关闭自动提交功能:autoCommit = false示例代码:List<Person> persons = ... // get a list of Person objects from somewhere.String sql = "update people set first

spring boot 与mybatis整合,type-aliases-package、type-handlers-package等配置不起作用,导致类加载失败

spring boot 与mybatis整合,type-aliases-package、type-handlers-package等配置不起作用,导致类加载失败刚刚接触spring boot,项目中整合了mybatis,但配置没用mybatis-spring-boot-autoconfigure自动配置,导致mybatis的配置:mybatis.type-aliases-p

spring boot 与mybatis整合,type-aliases-package、type-handlers-package等配置不起作用,导致类加载失败

spring boot 与mybatis整合,type-aliases-package、type-handlers-package等配置不起作用,导致类加载失败刚刚接触spring boot,项目中整合了mybatis,但配置没用mybatis-spring-boot-autoconfigure自动配置,导致mybatis的配置:mybatis.type-aliases-p

Kafka+Storm+HDFS整合实践

在基于Hadoop平台的很多应用场景中,我们需要对数据进行离线和实时分析,离线分析可以很容易地借助于Hive来实现统计分析,但是对于实时的需求Hive就不合适了。实时应用场景可以使用Storm,它是一个实时处理系统,它为实时处理类应用提供了一个计算模型,可以很容易地进行编程处理。为了统一离线和实时计算,一般情况下,我们都希望将离线和实时计算的数据源的集合统一起来作为输入,然后将数据的流向分别经由实

#集群#kafka
Fedora 20升级内核后VirtualBox不能正常使用的问题

最近因为需要安装了VirtualBox来虚拟xp环境,本来用着好好的,但是最近升级内核后,重启机器再次运行VirtualBox,发现不能正常使用了,启动虚拟机会提示如下内容:Kernel driver not installed (rc=-1908)    TheVirtualBoxLinux kernel driver (vboxdrv)is probably not loaded.    

Best practices for the logging REST API

Best practices for the logging REST APIIn a large-scale distributed environment, the log data may be the only informationthat is available to the developer for debugging issues. Auditing and log

Google首席工程师Joshua Bloch谈如何设计优秀的API

Google首席工程师Joshua Bloch谈如何设计优秀的APIHow to Design a Good API and Why it MattersWhy is API Design Important?APIs can be among a company's greatest assets_ Customers invest

GC、(三) GC Algorithms: Basics

GC Algorithms: BasicsBefore diving into the practical implementation details of Garbage Collection algorithms it will be beneficial to define the required terminology and to understand the basic pri

到底了