摘要:
public String getIpAddress(HttpServletRequest request) { String ipAddress = request.getHeader("x-forwarded-for"); if(ipAddress == null || ipAddress.le 阅读全文
摘要:
<dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>23.0</version></dependency> RateLimiter limiter = RateLimiter 阅读全文
摘要:
#!/bin/bashexport ORACLE_BASE=/home/oracle/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/11.2.0/dbhome_1export ORACLE_SID=orclexport TNS_ADMIN=$OR 阅读全文
摘要:
SELECT SUBSTR('1223_1',0,INSTR('1223_1','_', 1, 1)-1) "INSTRING", INSTR('1223_1','_', 1, 1) FROM DUAL 阅读全文
摘要:
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 阅读全文
摘要:
sql 语句替换 :select XMLAGG(XMLELEMENT(a, WSODETAILPALINCD || ',')).EXTRACT('//text()').getclobval() as wdpcdss from tablename a// java 中 用java.sql.Clob 接 阅读全文
摘要:
1 maven 3 4 MessageInfo.java 阅读全文
摘要:
1 pom.xml 添加 profiles 标签 2 在resources 下新配置文件 jdbc.properties 内容如下 阅读全文
摘要:
C:\Users\sunyues\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 再次文件夹下写脚本就可 @echo offstart javaw -jar D:\java\jars\systemctl.jarexit 阅读全文
摘要:
public static void upload(String url,File file,String filename) { CloseableHttpClient httpclient = HttpClients.createDefault(); try { HttpPost httppost = new HttpPost(url); RequestConfig requestConfig 阅读全文