public interface ClientConnectionPoolDataSourceInterface extends ClientDataSourceInterface, javax.sql.ConnectionPoolDataSource
java.sqlx.ConnectionPoolDataSource
.CLEAR_TEXT_PASSWORD_SECURITY, ENCRYPTED_PASSWORD_SECURITY, ENCRYPTED_USER_AND_PASSWORD_SECURITY, propertyDefault_portNumber, propertyDefault_retrieveMessageText, propertyDefault_securityMechanism, propertyDefault_serverName, propertyDefault_traceFileAppend, propertyDefault_user, STRONG_PASSWORD_SUBSTITUTE_SECURITY, USER_ONLY_SECURITY
Modifier and Type | Method and Description |
---|---|
int |
getMaxStatements()
Returns the maximum number of JDBC prepared statements a connection is
allowed to cache.
|
void |
setMaxStatements(int maxStatements)
Specifies the maximum size of the statement cache.
|
getConnectionAttributes, getCreateDatabase, getDatabaseName, getDataSourceName, getDescription, getPassword, getPortNumber, getRetrieveMessageText, getSecurityMechanism, getSecurityMechanism, getServerName, getShutdownDatabase, getSsl, getTraceDirectory, getTraceFile, getTraceFileAppend, getTraceLevel, getUser, setConnectionAttributes, setCreateDatabase, setDatabaseName, setDataSourceName, setDescription, setPassword, setPortNumber, setRetrieveMessageText, setSecurityMechanism, setServerName, setShutdownDatabase, setSsl, setTraceDirectory, setTraceFile, setTraceFileAppend, setTraceLevel, setUser
int getMaxStatements()
0
if
caching is disabled (default).void setMaxStatements(int maxStatements)
maxStatements
- maximum number of cached statementsjava.lang.IllegalArgumentException
- if maxStatements
is
negativeApache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.