2014年3月19日

addBatch

该文被密码保护。 阅读全文

posted @ 2014-03-19 13:52 agilezing 阅读(1) 评论(0) 推荐(0) 编辑

htmlcleaner

摘要: String xpath = "//div"; Object[] myNodes = node.evaluateXPath(xpath); for (Object obj : myNodes) { TagNode node = (TagNode) obj; // System.out.println(node.getAttributes()); title = node.getText().toString().trim(); } 阅读全文

posted @ 2014-03-19 09:11 agilezing 阅读(127) 评论(0) 推荐(0) 编辑

Redis

摘要: public class Redis { public static List list = new ArrayList(); public static Jedis jedis; public static void main(String[] args) throws IOException { Getlist(); jedis = new Jedis("localhost"); String md5; jedis.flushDB(); File file = new File("E:/work/Parser/Trial/out/check2.txt" 阅读全文

posted @ 2014-03-19 09:08 agilezing 阅读(199) 评论(0) 推荐(0) 编辑

MD5

摘要: public class MD5 { private static final char hexDigits[] = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; public static final String di 阅读全文

posted @ 2014-03-19 09:07 agilezing 阅读(286) 评论(0) 推荐(0) 编辑

historyIssues

摘要: jdbc.driverClassName=oracle.jdbc.driver.OracleDriverjdbc.url=jdbc:oracle:thin:@172.25.81.8:1521:NETGRIDjdbc.username=CYQMS_ZKRjdbc.password=CYQMS_ZKR 阅读全文

posted @ 2014-03-19 09:06 agilezing 阅读(54) 评论(0) 推荐(0) 编辑

DrawInstanceElement

摘要: package com.sinosoft.webmodule.historyIssues.model;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.Table;import javax.persistence.Transient;import com.sinosoft.core.base.model.AbstractModel;/** * DrawInstanceElement entity. @author MyEclipse Persistence Tools 阅读全文

posted @ 2014-03-19 09:04 agilezing 阅读(236) 评论(0) 推荐(0) 编辑

DBConnection

摘要: package com.sinosoft.webmodule.historyIssues.utils;import java.io.IOException;import java.sql.Connection;import java.sql.DriverManager;import java.sql.ResultSet;import java.sql.SQLException;import java.sql.Statement;import java.util.Properties;/** * 连接中间库 * @className DBConnection.java * @packageNam 阅读全文

posted @ 2014-03-19 09:01 agilezing 阅读(396) 评论(0) 推荐(0) 编辑

SnapshotsJdbcService

摘要: package com.tianditu.jdbc;import java.io.ByteArrayInputStream;import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.io.Reader;import java.io.UnsupportedEncodingException;import java.sql.Connection;import java.sql.PreparedStatement;import java.sql.ResultSe 阅读全文

posted @ 2014-03-19 08:57 agilezing 阅读(180) 评论(0) 推荐(0) 编辑

jdbc相关

摘要: http://blog.csdn.net/cxwen78/article/details/6863696在使用PreparedStatement对象执行SQL命令时,命令被数据库进行编译和解析,然后被放到命令缓冲区.然后,每当执行同一个PreparedStatement对象时,它就会被再解析一次,但不会被再次编译.在缓冲区中可以发现预编译的命令,并且可以重新使用.http://www.blogjava.net/redcoatjk/archive/2012/07/20/383599.htmlhttp://wangqinqin.iteye.com/blog/547277http://zhoujin 阅读全文

posted @ 2014-03-19 08:54 agilezing 阅读(74) 评论(0) 推荐(0) 编辑

导航