c3p0数据库使用

1.导入相关jar 1.编写c3p0-config.xml // 创建c3p0连接池核心工具类 // 自动加载src下c3p0的配置文件【c3p0-config.xml】 ComboPooledDataSource dataSource = new ComboPooledDataSource();// 使用默认的配置 PreparedStatement pstmt = null; // 获
相关文章
相关标签/搜索