![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
zhaoyan00123
这个作者很懒,什么都没留下…
展开
-
springboot多数据源启动循环依赖The dependencies of some of the beans in the application context form a cycle
使用druid多数据源时,项目启动出现数据源循环依赖,sprintboot 低版本可以使用 spring.datasource.initialize=false (默认为true) 来解决,升级到sprintboot2.1.2后就发现被启用了@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)在启动类上...原创 2020-04-26 14:13:57 · 1436 阅读 · 1 评论 -
oracle 中时间类型 date 与 long 互转
1,date转long :当前时间转成long :select sysdate,(sysdate-to_date('1970-01-01 08:00:00','yyyy-mm-dd hh24:mi:ss'))* 24*60*60*1000current_milli from dual;2,long转dateselectto_date('1970-01-01 08:00:0...原创 2020-03-11 14:02:06 · 2560 阅读 · 0 评论