- 博客(8)
- 资源 (2)
- 收藏
- 关注
原创 Oracle SID
Oracle system identifier (SID)A name that identifies a specific instance of a database. For any database, there is at least one instance referencing the database.一个数据库资源的唯一标识。https://docs.oracle.com/cd/E11882_01/network.112/e41945/glossary.htm#BGBFBBA.
2021-06-30 16:08:17 58
原创 MySQL时间戳精度
现象应用MySQL Connector/J(mysql-connector-java)升级,由5.1.20升级到5.1.30。灰度发布后,发现查询功能异常,按照时间查询不到之前创建过的订单了。private Date searchDate;对应查询SQL如下所示:其中MySQL中order_tbl表中的create_timestamp字段为TimeStamp类型。select * from order_tbl where create_timestamp = #{searchDate}排查过
2021-06-29 21:04:43 1246 1
转载 python requests 发送 post 请求
目录序application/x-www-form-urlencodedapplication/json修改请求头通过参数 json 传递序常见的Content-Type如下:application/x-www-form-urlencoded表明请求的数据类型是键值对类型,也就是页面 form 表单数据,如:username=demo&password=123456application/json这意味着请求的数据类型是 Json 格式的数据:{"username":"nemo",
2021-06-29 15:16:12 1412
原创 命令行查看公网IP
http://www.cip.cc/➜ ~ curl cip.ccIP : xxxx地址 : 中国 北京运营商 : 阿里云/电信/联通/移动/铁通/教育网数据二 : 北京市 | 阿里巴巴数据三 : 中国北京北京 | 阿里巴巴URL : http://www.cip.cc/xxxx
2021-06-29 15:05:51 514
原创 什么时候使用反射
运行时判断某个类是否存在,Class.forName编译时不能直接调用,运行时需要调用的情况例如:做基础jar开发,需要根据业务是否引入某个三方jar,做一些操作。针对三方jar的操作应用使用反射完成,不能直接import该jar里面的类进行操作,否则在业务应用没有引用三方jar的时候会编译失败。配合注解使用例如spring的Service Bean。当Spring应用启动时,会去扫描指定目录下的类,通过反射,判断类上是否标注了Service注解决定是否创建对应的Bean。补充中..
2021-06-17 19:43:00 573
原创 UndeclaredThrowableException
参考:https://segmentfault.com/a/1190000012262244
2021-06-09 14:38:40 207
原创 SpringCloud组件
Spring Cloud 组件Spring Cloud focuses on providing good out of box experience for typical use cases and extensibility mechanism to cover others.Distributed/versioned configurationService registration and discoveryRoutingService-to-service callsLoad .
2021-06-05 11:48:20 140
原创 DaoSupport
org.springframework.dao.support.DaoSupport:位于spring-tx包Generic base class for DAOs, defining template methods for DAO initialization.该类的功能如其名,作为一个模板类存在,主要提供Dao层操作的支持。该类一般会引用一个Template类,Template类为真正的Dao层执行类。例如:JdbcDaoSupport引用的是JdbcTemplate;SqlSessi
2021-06-03 22:58:23 385
Understanding_Java_Garbage_Collection_v4.pdf
2020-04-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人