Neoview JDBC Type 4 Driver API Reference (R2.2, R2.3, R2.4, R2.5)

setInitialPoolSize
public void setInitialPoolSize(int initialPoolSize)
The initial number of physical connections that the pool should be created with. Specifying a value of 0 (zero) or
less indicates that the pool should not be created with any initial connections. The default value is -1 indicating
that no initial pool of physical connections is created. The value can be less than minPoolSize but must be less
than or equal to the value of maxPoolSize. Specifying a value greater than maxPoolSize will set the
initialPoolSize to the value of maxPoolSize.
Parameters:
initialPoolSize - the initial number of physical connections the pool should be created with.
See Also:
setInitialPoolSize(String)
getInitialPoolSize
public int getInitialPoolSize()
Returns the number of physical connections that the pool should be created with. A value of -1 indicates that the
pool is not created with any initial connections.
Returns:
initialPoolSize the number of physical connections that the pool should be created with.
See Also:
setInitialPoolSize(int)
setMaxStatements
public void setMaxStatements(java.lang.String maxStatements)
Total number of statements that can be cached. A value of zero (0) indicates that caching of statements is
disabled.
Parameters:
maxStatements - The number of statements that can be cached.
See Also:
setMaxStatements(int)
setMaxStatements
public void setMaxStatements(int maxStatements)
Total number of statements that can be cached. A value of zero (0) indicates that caching of statements is
disabled.
Parameters:
maxStatements - The number of statements that can be cached.
See Also:
setMaxStatements(String)