08 2020 档案
摘要:public class BaseDao { /**连接*/ protected Connection con ; /**SQL语句执行对象*/ protected PreparedStatement ps ; /**结果集*/ protected ResultSet rs ; static { t
阅读全文
摘要:public class ServiceProxy implements InvocationHandler{ /**目标对象*/ private Object targetObj; public ServiceProxy(Object targetObj) { this.targetObj = t
阅读全文
摘要:public class DaoFactory { private static Properties pro = new Properties(); static { try { pro.load(new FileReader("dao.txt")); } catch (Exception e)
阅读全文