|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ClientConnectionPoolDataSourceInterface
Specifies Derby extensions to the java.sqlx.ConnectionPoolDataSource.
| Field Summary |
|---|
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface javax.sql.DataSource |
|---|
getConnection, getConnection |
| Methods inherited from interface javax.sql.CommonDataSource |
|---|
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Methods inherited from interface javax.sql.ConnectionPoolDataSource |
|---|
getPooledConnection, getPooledConnection |
| Method Detail |
|---|
int getMaxStatements()
0 if
caching is disabled (default).void setMaxStatements(int maxStatements)
maxStatements - maximum number of cached statements
java.lang.IllegalArgumentException - if maxStatements is
negative
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||