| java.lang.Object org.apache.openjpa.lib.jdbc.DelegatingConnection
DelegatingConnection | public class DelegatingConnection implements Connection,Closeable(Code) | | Wrapper around an existing connection. Subclasses can override the
methods whose behavior they mean to change. The equals and
hashCode methods pass through to the base underlying data
store connection.
author: Abe White |
Method Summary | |
protected void | appendInfo(StringBuffer buf) | public void | clearWarnings() | public void | close() | public void | commit() | public Statement | createStatement() | protected Statement | createStatement(boolean wrap) Create a statement, with the option of not wrapping it in a
DelegatingStatement , which is the default. | public Statement | createStatement(int type, int concur) | protected Statement | createStatement(int type, int concur, boolean wrap) Create a statement, with the option of not wrapping it in a
DelegatingStatement , which is the default. | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | protected Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) | public boolean | equals(Object other) | public boolean | getAutoCommit() | public String | getCatalog() | public Connection | getDelegate() Return the wrapped connection. | public int | getHoldability() | public Connection | getInnermostDelegate() Return the base underlying data store connection. | public DatabaseMetaData | getMetaData() | protected DatabaseMetaData | getMetaData(boolean wrap) Return the metadata, with the option of not wrapping it in a
DelegatingDatabaseMetaData , which is the default. | public int | getTransactionIsolation() | public Map | getTypeMap() | public SQLWarning | getWarnings() | public int | hashCode() | public boolean | isClosed() | public boolean | isReadOnly() | public String | nativeSQL(String str) | public CallableStatement | prepareCall(String str) | protected CallableStatement | prepareCall(String str, boolean wrap) Prepare a call, with the option of not wrapping it in a
DelegatingCallableStatement , which is the default. | public CallableStatement | prepareCall(String str, int type, int concur) | protected CallableStatement | prepareCall(String str, int type, int concur, boolean wrap) Prepare a call, with the option of not wrapping it in a
DelegatingCallableStatement , which is the default. | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | protected CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) | public PreparedStatement | prepareStatement(String str) | protected PreparedStatement | prepareStatement(String str, boolean wrap) Prepare a statement, with the option of not wrapping it in a
DelegatingPreparedStatement , which is the default. | public PreparedStatement | prepareStatement(String str, int type, int concur) | protected PreparedStatement | prepareStatement(String str, int type, int concur, boolean wrap) Prepare a statement, with the option of not wrapping it in a
DelegatingPreparedStatement , which is the default. | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | protected PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) | public PreparedStatement | prepareStatement(String sql, int autoGeneratedKeys) | protected PreparedStatement | prepareStatement(String sql, int autoGeneratedKeys, boolean wrap) | public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) | protected PreparedStatement | prepareStatement(String sql, int[] columnIndexes, boolean wrap) | public PreparedStatement | prepareStatement(String sql, String[] columnNames) | protected PreparedStatement | prepareStatement(String sql, String[] columnNames, boolean wrap) | public void | releaseSavepoint(Savepoint savepoint) | public void | rollback() | public void | rollback(Savepoint savepoint) | public void | setAutoCommit(boolean bool) | public void | setCatalog(String str) | public void | setHoldability(int holdability) | public void | setReadOnly(boolean bool) | public Savepoint | setSavepoint() | public Savepoint | setSavepoint(String savepoint) | public void | setTransactionIsolation(int i) | public void | setTypeMap(Map map) | public String | toString() |
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
createStatement | protected Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability, boolean wrap) throws SQLException(Code) | | |
getInnermostDelegate | public Connection getInnermostDelegate()(Code) | | Return the base underlying data store connection.
|
hashCode | public int hashCode()(Code) | | |
setTransactionIsolation | public void setTransactionIsolation(int i) throws SQLException(Code) | | |
|
|