- 博客(5)
- 收藏
- 关注
转载 spring boot多数据源配置示例
1. application.properties #\u4E3B\u5E93\u914D\u7F6E spring.datasource.primary.url=jdbc:mysql://mysql.test.xxxxx.com:3306/test?useUnicode=true&characterEncoding=utf8&useSSL=false spri...
2017-07-27 20:31:00 213
转载 Java 8 Concurrency Tutorial--转
Threads and Executors Welcome to the first part of my Java 8 Concurrency tutorial. This guide teaches youconcurrent programmingin Java 8 with easily understood code examples. It's the first pa...
2017-07-14 11:30:00 156
转载 ibatis annotations 注解方式返回刚插入的自增长主键ID的值--转
原文地址:http://www.blogs8.cn/posts/WWpt35l mybatis提供了注解方式编写sql,省去了配置并编写xml mapper文件的麻烦,今天遇到了获取自增长主键返回值的问题,发现相关问答比较少,还好最后还是圆满解决了,现把重点记录一下,解决问题的关键就是以下几行代码: 1 @Insert("insert into Product(title...
2017-07-13 20:38:00 127
转载 mysql 字符串的处理
1.SUBSTRING 2.SUBSTRING_INDEX 3.right/left 4.POSITION sql实例 select left(right(SUBSTRING_INDEX(data_out,":",7),10),3) from check_post01 where day_online='2017-06-08 00:00:00'; select SUBSTR...
2017-07-13 15:36:00 58
转载 How To Do @Async in Spring--转
原文地址:http://www.baeldung.com/spring-async 1. Overview In this article, we’ll explore theasynchronous execution support in Spring– and the@Asyncannotation. Simply put – annotating a method ...
2017-07-13 15:06:00 78
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人