Method Summary |
|
public void | clearWarnings() |
public void | close() Overrides method to provide caching support. |
public void | commit() |
public Statement | createStatement() Overrides method to provide caching support. |
public Statement | createStatement(int resultSetType, int resultSetConcurrency) Overrides method to provide caching support. |
public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) Overrides method to provide caching support. |
protected void | flushOpenCallableStatements() Flushes the open CallableStatement cache for this connection. |
protected void | flushOpenNonCachableStatements() Flushes the non-cachable Statements for this connection. |
protected void | flushOpenPreparedStatements() Flushes the open PreparedStatement cache for this connection. |
protected void | flushOpenStatements() Flushes the open Statement cache for this connection. |
protected void | flushSpareCallableStatements() Flushes the spare CallableStatement cache for this connection. |
protected void | flushSparePreparedStatements() Flushes the spare PreparedStatement cache for this connection. |
protected void | flushSpareStatements() Flushes the spare Statement caches for this connection. |
public boolean | getAutoCommit() |
public String | getCatalog() |
public int | getHoldability() |
public DatabaseMetaData | getMetaData() |
public int | getOpenCallableStatementCount() Returns the current number of CallableStatements that are in use. |
public int | getOpenNonCachableStatementCount() Returns the current number of non-cachable statements that are in use. |
public int | getOpenPreparedStatementCount() Returns the current number of PreparedStatements that are in use
(not including CallableStatements). |
public int | getOpenStatementCount() Returns the current number of Statements that are in use
(not including PreparedStatements & CallableStatements). |
public Connection | getRawConnection() Returns the raw underlying Connection object for which this provides
a wrapper. |
public int | getSpareCallableStatementCount() Returns the current number of spare CallableStatements that are cached. |
public int | getSparePreparedStatementCount() Returns the current number of spare PreparedStatements that are cached. |
public int | getSpareStatementCount() Returns the current number of spare Statements that are cached. |
public int | getTransactionIsolation() |
public Map | getTypeMap() |
public SQLWarning | getWarnings() |
public boolean | isCachingAllStatements() Returns whether caching of CallableStatements is enabled. |
public boolean | isCachingCallableStatements() Returns whether caching of CallableStatements is enabled. |
public boolean | isCachingPreparedStatements() Returns whether caching of CallableStatements is enabled. |
public boolean | isCachingStatements() Returns whether caching of CallableStatements is enabled. |
public boolean | isClosed() |
boolean | isOpen() Added to provide caching support. |
public boolean | isReadOnly() |
public String | nativeSQL(String sql) |
public CallableStatement | prepareCall(String sql) Overrides method to provide caching support. |
public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) Overrides method to provide caching support. |
public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Overrides method to provide caching support. |
public PreparedStatement | prepareStatement(String sql) Overrides method to provide caching support. |
public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) Overrides method to provide caching support. |
public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Overrides method to provide caching support. |
public PreparedStatement | prepareStatement(String sql, int autoGeneratedKeys) |
public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) |
public PreparedStatement | prepareStatement(String sql, String[] columnNames) |
public void | recycle() Puts connection back in a state where it can be reused. |
public void | release() Destroys the wrapped connection. |
public void | releaseSavepoint(Savepoint savepoint) |
public void | rollback() |
public void | rollback(Savepoint savepoint) |
public void | setAutoCommit(boolean autoCommit) |
public void | setCacheAll(boolean cache) Sets whether to use caching for all types of Statement. |
public void | setCacheCallableStatements(boolean cache) Sets whether to use caching for CallableStatements. |
public void | setCachePreparedStatements(boolean cache) Sets whether to use caching for PreparedStatements. |
public void | setCacheStatements(boolean cache) Sets whether to use caching for Statements. |
public void | setCatalog(String catalog) |
public void | setHoldability(int holdability) |
void | setOpen() Added to provide caching support. |
public void | setReadOnly(boolean readOnly) |
public Savepoint | setSavepoint() |
public Savepoint | setSavepoint(String name) |
public void | setTransactionIsolation(int level) |
public void | setTypeMap(Map map) |
public void | statementClosed(CachedStatement s) Callback invoked when a statement is closed. |