java.sqlx.ConnectionPoolDataSource.
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: Maximum number of statements to cache, or0 if
caching is disabled (default).Returns the maximum number of JDBC prepared statements a connection is allowed to cache. |
| public void | setMaxStatements(int
maximum number of cached statements maxStatements)Specifies the maximum size of the statement cache. |
| getMaxStatements | back to summary |
|---|---|
| public int getMaxStatements() Returns the maximum number of JDBC prepared statements a connection is allowed to cache.
| |
| setMaxStatements | back to summary |
|---|---|
| public void setMaxStatements(int maxStatements) Specifies the maximum size of the statement cache.
| |