57585960616263
return ds; } @Override public DataSource pool(final String name, final DataSource ds, final Properties properties) { return build(DbcpDataSource.class, new DbcpDataSource(name, ds), properties); }
56575859606162
54555657585960
return ds; } @Override public DataSource pool(final String name, final DataSource ds, final Properties properties) { return new DbcpDataSource(name, ds); }
return ds; } @Override public DataSource pool(final String name, final DataSource ds, Properties properties) { return new DbcpDataSource(name, ds); }
174175176177178179180
dataSource.setDriverClassName("org.h2.Driver"); dataSource.setPoolPreparedStatements(false); return new DBCPDataSource(dataSource); }
239240241242243244245
initializeDataSource( dataSource, db ); // return a closeable data source (DisposableDataSource interface) // so that the connection pool will be tore down on datastore dispose return new DBCPDataSource(dataSource); }
428429430431432433434
if(maxPreparedStatements != null && maxPreparedStatements < 0) dataSource.setPoolPreparedStatements(false); } } return new DBCPDataSource(dataSource); }