4、编写测试
@Test public void testC3p0() { DataSource ds = new ComboPooledDataSource("c3p0"); try { System.out.println(ds.getConnection()); } catch (SQLException e) { e.printStackTrace(); } }
c3p0数据库连接池
标签:blog com cti trace direct driver common nbsp rem
4、编写测试
@Test public void testC3p0() { DataSource ds = new ComboPooledDataSource("c3p0"); try { System.out.println(ds.getConnection()); } catch (SQLException e) { e.printStackTrace(); } }
c3p0数据库连接池
标签:blog com cti trace direct driver common nbsp rem