11 2020 档案

摘要: 阅读全文 »
posted @ 2020-11-28 11:43 皮军旗 阅读(213) 评论(0) 推荐(0) 编辑
摘要:keytool -genkey -v -alias tomcat -keyalg RSA -validity 3650 -keystore c:\tomcat\qi.keystore -dname "CN=localhost,OU=cn,O=cn,L=cn,ST=cn,c=cn" -storepas 阅读全文 »
posted @ 2020-11-24 11:29 皮军旗 阅读(176) 评论(0) 推荐(0) 编辑
摘要:例如查询的sex字段值 '1'代表'男' '2'代表'女' 于是我们就可以这样写 select (case t.sex when '1' then '男' when '2' then '女' else '未知' end )sex -- 别名 from user 也可以在Java代码里判断转换,但个人 阅读全文 »
posted @ 2020-11-23 16:48 皮军旗 阅读(1199) 评论(0) 推荐(0) 编辑
摘要:SQL state [99999]; error code [17056]; 不支持的字符集 (在类路径中添加 orai18n.jar): ZHS16GBK; 原因:和数据库字符集不一致 解决办法:添加依赖 <!-- https://mvnrepository.com/artifact/com.or 阅读全文 »
posted @ 2020-11-19 14:17 皮军旗 阅读(3443) 评论(0) 推荐(0) 编辑
摘要:解决办法1:没有写commit信息 -->git commit -m "日志" 解决办法2:分支不在master上 -->git branch //查看所有分支 切换到master分支上-->git checkout master 阅读全文 »
posted @ 2020-11-19 09:30 皮军旗 阅读(820) 评论(0) 推荐(0) 编辑
摘要:Java中经常出现自定义的 properties 配置文件,可以简化更换参数时的复杂度 第一种方式(可用): ResourceBundle:这个类主要用来解决国际化和本地化问题。 说的简单点,这个类的作用就是读取资源属性文件(properties),然后根据.properties文件的名称信息(本地 阅读全文 »
posted @ 2020-11-11 14:48 皮军旗 阅读(563) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示