08 2020 档案

摘要:public class BaseDao { /**连接*/ protected Connection con ; /**SQL语句执行对象*/ protected PreparedStatement ps ; /**结果集*/ protected ResultSet rs ; static { t 阅读全文
posted @ 2020-08-10 10:07 FivePointOne 阅读(172) 评论(0) 推荐(0) 编辑
摘要:public class ServiceProxy implements InvocationHandler{ /**目标对象*/ private Object targetObj; public ServiceProxy(Object targetObj) { this.targetObj = t 阅读全文
posted @ 2020-08-10 09:56 FivePointOne 阅读(98) 评论(0) 推荐(0) 编辑
摘要:public class DaoFactory { private static Properties pro = new Properties(); static { try { pro.load(new FileReader("dao.txt")); } catch (Exception e) 阅读全文
posted @ 2020-08-10 09:54 FivePointOne 阅读(661) 评论(0) 推荐(0) 编辑