摘要:
代码编写逻辑,假设需要给11个用户发送短信,每一个线程给两个用户发送短信,实现多线程的并发处理 创建实体user package www.it.com.test; /** * @author wangjie * @date 2019/11/20 17:10 * @description * @com 阅读全文
posted @ 2019-12-19 18:04
求知若渴的蜗牛
阅读(611)
评论(0)
推荐(0)
摘要:
当项目在连接多个数据库时可能会发生事务问题,即一个库的事务不可能去操作另一个数据库的事务,这时就需要使用atomikos对数据库的事务进行统一的管理 第一步添加atomikos的依赖 <dependency> <groupId>org.springframework.boot</groupId> < 阅读全文
posted @ 2019-12-19 18:04
求知若渴的蜗牛
阅读(1399)
评论(0)
推荐(0)
摘要:
第一步:编写application.yml配置文件 spring: datasource: system: jdbc-url: jdbc:oracle:thin:@localhost:1521/orcl driver-class-name: oracle.jdbc.OracleDriver user 阅读全文
posted @ 2019-12-19 18:04
求知若渴的蜗牛
阅读(447)
评论(0)
推荐(0)
摘要:
<select id="getJhList" resultType="string"> select t.jh from jcsxx t where ceil(sysdate- to_date(substr(t.ssgxsj, 0,19),'yyyy/mm/dd hh24:mi:ss')) <
浙公网安备 33010602011771号