会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
冬天不眠
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
16
下一页
2020年1月6日
request 获取ip
摘要: public String getIpAddress(HttpServletRequest request) { String ipAddress = request.getHeader("x-forwarded-for"); if(ipAddress == null || ipAddress.le
阅读全文
posted @ 2020-01-06 15:29 冬天不眠
阅读(1768)
评论(0)
推荐(0)
2020年1月3日
java RateLimiter
摘要: <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>23.0</version></dependency> RateLimiter limiter = RateLimiter
阅读全文
posted @ 2020-01-03 16:06 冬天不眠
阅读(721)
评论(0)
推荐(0)
2019年12月30日
centos oracle 数据库备份
摘要: #!/bin/bashexport ORACLE_BASE=/home/oracle/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1export ORACLE_SID=orclexport TNS_ADMIN=$OR
阅读全文
posted @ 2019-12-30 17:47 冬天不眠
阅读(608)
评论(0)
推荐(0)
2019年12月23日
oracle分割字符串
摘要: SELECT SUBSTR('1223_1',0,INSTR('1223_1','_', 1, 1)-1) "INSTRING", INSTR('1223_1','_', 1, 1) FROM DUAL
阅读全文
posted @ 2019-12-23 13:33 冬天不眠
阅读(773)
评论(0)
推荐(0)
2019年12月9日
oracle 导入导出表
摘要: imp username/pwd@orcl file=c:\temp\exp.dmp tables=(table1, table2)#imp username/pwd@ip:1521/orcl full=y file=D:/ORACLEBACK/0822qrtz.dmp exp username/p
阅读全文
posted @ 2019-12-09 10:57 冬天不眠
阅读(304)
评论(0)
推荐(0)
2019年12月7日
oarcle wm_concat 值过长解决--使用 clob
摘要: sql 语句替换 :select XMLAGG(XMLELEMENT(a, WSODETAILPALINCD || ',')).EXTRACT('//text()').getclobval() as wdpcdss from tablename a// java 中 用java.sql.Clob 接
阅读全文
posted @ 2019-12-07 14:08 冬天不眠
阅读(449)
评论(0)
推荐(0)
2019年11月26日
springmvc 整合 netty-socketio
摘要: 1 maven 3 4 MessageInfo.java
阅读全文
posted @ 2019-11-26 13:48 冬天不眠
阅读(1830)
评论(0)
推荐(0)
2019年11月22日
springmvc多环境配置-profiles
摘要: 1 pom.xml 添加 profiles 标签 2 在resources 下新配置文件 jdbc.properties 内容如下
阅读全文
posted @ 2019-11-22 17:18 冬天不眠
阅读(2910)
评论(0)
推荐(0)
2019年10月25日
window开机启动
摘要: C:\Users\sunyues\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 再次文件夹下写脚本就可 @echo offstart javaw -jar D:\java\jars\systemctl.jarexit
阅读全文
posted @ 2019-10-25 15:02 冬天不眠
阅读(146)
评论(0)
推荐(0)
2019年10月4日
Httpclient文件上传
摘要: public static void upload(String url,File file,String filename) { CloseableHttpClient httpclient = HttpClients.createDefault(); try { HttpPost httppost = new HttpPost(url); RequestConfig requestConfig
阅读全文
posted @ 2019-10-04 18:49 冬天不眠
阅读(10780)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
16
下一页
公告
点击右上角即可分享