09 2019 档案

摘要: 阅读全文
posted @ 2019-09-30 09:07 唯起 阅读(157) 评论(0) 推荐(0)
摘要:jdbc.url配置为: jdbc:oracle:thin:@xxx.xx.xx.xx:1521:orclpdb 报错: java.sql.SQLException: Listenerrefused the connection with the following error: ORA-12505 阅读全文
posted @ 2019-09-20 15:00 唯起 阅读(4209) 评论(0) 推荐(0)
摘要:1. 官网下载合适的【Instant Client】 https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html 我这里下载的是: Version 18.5.0.0.0 Basic Pack 阅读全文
posted @ 2019-09-19 23:36 唯起 阅读(464) 评论(0) 推荐(0)
摘要:https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html 阅读全文
posted @ 2019-09-19 17:22 唯起 阅读(2196) 评论(0) 推荐(0)
摘要:在通过myBatis执行sql时,报错: java.lang.NumberFormatException: For input string: "F" xml中sql内容为: 其中 fieldname的值为 F, 没明白会报 NumberFormatException, 明明是字符型,后一步步调试代 阅读全文
posted @ 2019-09-17 18:11 唯起 阅读(13451) 评论(1) 推荐(0)
摘要:朋友有个网站,今天登录看看,结果等待了好久,几次跳转后到了一个 赌博网站,吓了我一跳,第一反应,自己的云服务器被攻击了。 登录上阿里云控制台,发现有30多个漏洞,只有5个中级,其他监控显示正常, 服务器没问题。 难道是 nginx被人改了配置,查看nginx配置文件修改时间,没发现异常, 进入ngi 阅读全文
posted @ 2019-09-08 18:24 唯起 阅读(221) 评论(0) 推荐(0)
摘要:以下代码没什么意义,只是记录 long mstart = System.nanoTime(); int mIndex = 0 ; for (int i = 0; i < 100000000; i++) { mIndex = i ; if ( mIndex >= 0 ){ } } long mend 阅读全文
posted @ 2019-09-07 14:01 唯起 阅读(475) 评论(0) 推荐(0)
摘要:1. File -> Settings... 2. 选择 Plunins, 查询 Maven Helper,如果没有,点击 Search in repositories 3. 选择 Maven Helper, 点击 Install 4. 安装完毕后重启 idea 阅读全文
posted @ 2019-09-06 17:15 唯起 阅读(1592) 评论(0) 推荐(0)
摘要:一 生成方法注释 1. File -> Settings... 2. Editor -> Live Templates,点击最右边的+ 3. 依自己情况选择,我这里选择的 Live Template 4. 此处设置的快捷键为 ( "/" + "a" + 空格 三个键组合), 右边中部的 Expand 阅读全文
posted @ 2019-09-05 09:56 唯起 阅读(300) 评论(4) 推荐(0)