ds.setMaxOpenPreparedStatements( Integer.valueOf( value ) );
dataSource.setMaxOpenPreparedStatements(maxPreparedStatements);
@Override public synchronized void setMaxOpenPreparedStatements(int maxOpenStatements) { delegate.setMaxOpenPreparedStatements(maxOpenStatements); }
dataSource.setMaxOpenPreparedStatements(10);
@ManagedAttribute @Description("Set the maximum number of open statements that can be allocated from the statement pool at the same time," + " or non-positive for no limit.") public void setMaxOpenPreparedStatements(final int max) { ds.setMaxOpenPreparedStatements(max); }
dataSource.setMaxOpenPreparedStatements(Integer.parseInt(value));
dataSource.setMaxOpenPreparedStatements(Integer.parseInt(value));
dataSource.setMaxOpenPreparedStatements(Integer.parseInt(value));
dataSource.setMaxOpenPreparedStatements(maxPreparedStatements);
bds.setPassword(cp.getPassword()); bds.setPoolPreparedStatements(true); bds.setMaxOpenPreparedStatements(cp.getMaxOpenPreparedStatements()); bds.setMinIdle(cp.getMinConnections()); bds.setMaxActive(cp.getMaxConnections());
ds.setAccessToUnderlyingConnectionAllowed(true); ds.setPoolPreparedStatements(true); ds.setMaxOpenPreparedStatements(-1); // unlimited return ds;
ds.setAccessToUnderlyingConnectionAllowed(true); ds.setPoolPreparedStatements(true); ds.setMaxOpenPreparedStatements(-1); // unlimited return ds;
ds.setAccessToUnderlyingConnectionAllowed(true); ds.setPoolPreparedStatements(true); ds.setMaxOpenPreparedStatements(-1); // unlimited return ds;
dataSource.setMaxOpenPreparedStatements(10);
dataSource.setMaxOpenPreparedStatements(10);
basicDataSource.setNumTestsPerEvictionRun( dataSourceInformation.getNumTestsPerEvictionRun()); basicDataSource.setMaxOpenPreparedStatements( dataSourceInformation.getMaxOpenPreparedStatements()); basicDataSource.setAccessToUnderlyingConnectionAllowed(
basicDataSource.setNumTestsPerEvictionRun( dataSourceInformation.getNumTestsPerEvictionRun()); basicDataSource.setMaxOpenPreparedStatements( dataSourceInformation.getMaxOpenPreparedStatements()); basicDataSource.setAccessToUnderlyingConnectionAllowed(
dataSource.setMaxOpenPreparedStatements(settings.getSettingAsInt(LuceneEnvironment.JdbcStore.DataSourceProvider.Dbcp.MAX_OPEN_PREPARED_STATEMENTS, 0));