public class ConfiguringConnectionDecorator.ConfiguringConnection extends DelegatingConnection
| Constructor and Description |
|---|
ConfiguringConnectionDecorator.ConfiguringConnection(java.sql.Connection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
commit() |
protected java.sql.Statement |
createStatement(boolean wrap)
Create a statement, with the option of not wrapping it in a
DelegatingStatement, which is the default. |
protected java.sql.Statement |
createStatement(int rsType,
int rsConcur,
boolean wrap)
Create a statement, with the option of not wrapping it in a
DelegatingStatement, which is the default. |
protected java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
boolean wrap)
Prepare a statement, with the option of not wrapping it in a
DelegatingPreparedStatement, which is the default. |
protected java.sql.PreparedStatement |
prepareStatement(java.lang.String sql,
int rsType,
int rsConcur,
boolean wrap)
Prepare a statement, with the option of not wrapping it in a
DelegatingPreparedStatement, which is the default. |
void |
rollback() |
void |
setAutoCommit(boolean auto) |
abort, appendInfo, clearWarnings, close, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStatement, createStruct, equals, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDelegate, getHoldability, getInnermostDelegate, getMetaData, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, hashCode, isClosed, isReadOnly, isValid, isWrapperFor, nativeSQL, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, toString, unwrappublic ConfiguringConnectionDecorator.ConfiguringConnection(java.sql.Connection conn)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAutoCommit(boolean auto)
throws java.sql.SQLException
setAutoCommit in interface java.sql.ConnectionsetAutoCommit in class DelegatingConnectionjava.sql.SQLExceptionpublic void commit()
throws java.sql.SQLException
commit in interface java.sql.Connectioncommit in class DelegatingConnectionjava.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
rollback in interface java.sql.Connectionrollback in class DelegatingConnectionjava.sql.SQLExceptionprotected java.sql.PreparedStatement prepareStatement(java.lang.String sql,
boolean wrap)
throws java.sql.SQLException
DelegatingConnectionDelegatingPreparedStatement, which is the default.prepareStatement in class DelegatingConnectionjava.sql.SQLExceptionprotected java.sql.PreparedStatement prepareStatement(java.lang.String sql,
int rsType,
int rsConcur,
boolean wrap)
throws java.sql.SQLException
DelegatingConnectionDelegatingPreparedStatement, which is the default.prepareStatement in class DelegatingConnectionjava.sql.SQLExceptionprotected java.sql.Statement createStatement(boolean wrap)
throws java.sql.SQLException
DelegatingConnectionDelegatingStatement, which is the default.createStatement in class DelegatingConnectionjava.sql.SQLExceptionprotected java.sql.Statement createStatement(int rsType,
int rsConcur,
boolean wrap)
throws java.sql.SQLException
DelegatingConnectionDelegatingStatement, which is the default.createStatement in class DelegatingConnectionjava.sql.SQLExceptionCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.