- 博客(7)
- 收藏
- 关注
原创 输入流InputStream的read(byte b[], int off, int len)方法的使用
输入流InputStream的read(byte b[], int off, int len)方法的使用 参数 byte b[] : the buffer into which the data is read. 读取数据的缓冲区 int off : the start offset in array byte b[] . byte b[]中的起始偏移量 int len: the...
2018-12-15 15:15:07 4015
原创 @SpringBootApplication 的学习
@SpringBootApplication @SpringBootApplication开启了Spring的组件扫描和Spring Boot 的自动配置功能。实际上,@SpringBootApplication将三个有用的注解组合到了一起。 @SpringBootConfiguration继承自@Configuration,二者功能也一致,标注当前类是配置类,并会将当前类内声明的...
2018-12-15 15:12:08 539
原创 where 和 having的区别
where 和 having where、聚合函数、having 在from后面的执行顺序: where > 聚合函(sum,min,max,avg,count) > having 使用 本质的区别就是where筛选的是数据库表里面本来就有的字段,而having筛选的字段是从前筛选的字段筛选的。 where和having都可以使用的场景: select ...
2018-12-08 14:03:16 592
原创 Spring任务调度 Quartz
Spring任务调度 Quartz 任务基类 1 定义getCron(),方便获取每个任务的定时调度参数 public abstract class AbstractExchanger implements Job { public abstract String getCron(); } 任务触发器关键点: 1 ...
2018-12-08 14:03:03 514
原创 DBUtils 查询使用
DBUtils 查询使用 maven 依赖 <dependency> <groupId>commons-dbutils</groupId> <artifactId>commons-dbutils</artifactId> <version>1.7</version></depend
2018-12-03 19:41:13 717
原创 问题排查ContextLoader,项目启动时,日志报错
问题排查ContextLoader项目启动时,日志报错:ERROR org.springframework.web.context.ContextLoader - Context initialization failedorg.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definit...
2018-12-03 19:40:47 823
原创 linux 路由
linux 路由查看路由表:route -n添加回执路由:route add -net 10.0.0.0/8 gw 11.12.84.145
2018-12-03 19:40:03 640
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人