| java.lang.Object winstone.jndi.resourceFactories.WinstoneConnection
WinstoneConnection | public class WinstoneConnection implements Connection(Code) | | JDBC Connection wrapper for use in the pooling datasource. This just suppresses
the close() call, and releases the connection.
author: Rick Knowles version: $Id: WinstoneConnection.java,v 1.3 2006/02/28 07:32:48 rickknowles Exp $ |
Method Summary | |
public void | clearWarnings() | public void | close() | public void | commit() | public Statement | createStatement() | public Statement | createStatement(int resultSetType, int resultSetConcurrency) | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public boolean | getAutoCommit() | public String | getCatalog() | public int | getHoldability() | public DatabaseMetaData | getMetaData() | public int | getTransactionIsolation() | public Map | getTypeMap() | public SQLWarning | getWarnings() | public boolean | isClosed() | public boolean | isReadOnly() | public String | nativeSQL(String sql) | public CallableStatement | prepareCall(String sql) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql) | public PreparedStatement | prepareStatement(String sql, int autogeneratedKeys) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) | public PreparedStatement | prepareStatement(String sql, String[] columnNames) | public void | releaseSavepoint(Savepoint sp) | public void | rollback() | public void | rollback(Savepoint sp) | public void | setAutoCommit(boolean autoCommit) | public void | setCatalog(String catalog) | public void | setHoldability(int hold) | public void | setReadOnly(boolean ro) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String name) | public void | setTransactionIsolation(int level) | public void | setTypeMap(Map map) |
WinstoneConnection | public WinstoneConnection(Connection connection, WinstoneDataSource datasource)(Code) | | Constructor - this sets the real connection and the link back to the pool
|
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
setTransactionIsolation | public void setTransactionIsolation(int level) throws SQLException(Code) | | |
|
|