- 博客(8)
- 收藏
- 关注
原创 mysql 随机数
mysql 随机获取指定位数的字符串 select substring(MD5(RAND()),1,15); 随机获取指定位数的数字 select substring(MD5(RAND()),1,15);
2019-11-01 15:18:50
435
原创 Git 合并分支-idea操作
假设我想从Dev merge 到test分支,首先checkout test分支。 如下找到上次合并的位置,在上次合并位置的后面一次提交的位置上进行reset 操作,这样相当于是本地重置test分支代码到此处 然后 add-->commit-->pull-->push ...
2018-11-09 15:59:11
344
原创 spring boot中获取profile
spring boot中获取profilespring boot与profile静态获取方式点评:autowire ProfileConfig点评: spring boot与profile spring boot 的项目中不再使用xml的方式进行配置,并且,它还遵循着 静态获取方式 静态工具类获取当前项目的profile环境。 import org.springframework.beans.Be...
2018-11-08 14:09:45
10266
原创 spring boot是如何启动的?
本文介绍的是spring boot 版本 1.0-RELEASE main方法执行run方法,然后按照如下顺序进行调度: org.springframework.boot.SpringApplication#run(java.lang.Object, java.lang.String...) org.springframework.boot.SpringApplication#run(j...
2018-11-07 10:27:32
271
原创 jboss-jndi-oracle
项目配置 application.yml #数据源配置 spring: datasource: # type: com.alibaba.druid.pool.DruidDataSource # driver-class-name: oracle.jdbc.driver.OracleDriver # url: jdbc:oracle:thin:@ip:端口:helowin...
2018-08-07 16:40:11
543
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人