君子博学而日参省乎己 则知明而行无过矣

博客园 首页 新随笔 联系 订阅 管理

随笔分类 -  java并发编程

上一页 1 2 3

摘要:JDBCContext类主要解决数据连接的问题publicclassJDBCContext{privatestaticfinalLoglog=LogFactory.getLog(JDBCContext.class);//privateDatabasedatabase;privateDataSourcedatasource;protectedConnectionconnection;privatebooleanisValid=true;privatestaticThreadLocal<JDBCContext>jdbcContext;/***私有构造函数*@paramdatabase* 阅读全文
posted @ 2012-09-23 02:03 刺猬的温驯 阅读(447) 评论(0) 推荐(0)

上一页 1 2 3