public abstract class AbstractJdbcConnectionProxy extends com.atomikos.util.DynamicProxySupport<Connection>
| Constructor and Description |
|---|
AbstractJdbcConnectionProxy(Connection delegate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addStatement(Statement s) |
void |
commit() |
Statement |
createStatement() |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency) |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
protected void |
forceCloseAllPendingStatements(boolean warn) |
boolean |
getAutoCommit() |
boolean |
isClosed() |
protected abstract boolean |
isEnlistedInGlobalTransaction() |
CallableStatement |
prepareCall(String sql) |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency) |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatement |
prepareStatement(String sql) |
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys) |
PreparedStatement |
prepareStatement(String sql,
int[] columnIndexes) |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency) |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatement |
prepareStatement(String sql,
String[] columnNames) |
void |
releaseSavepoint(Savepoint savepoint) |
protected void |
removeStatement(Statement s) |
void |
rollback() |
void |
rollback(Savepoint savepoint) |
void |
setAutoCommit(boolean autoCommit) |
Savepoint |
setSavepoint() |
Savepoint |
setSavepoint(String name) |
protected void |
throwInvocationAfterClose(String methodName) |
protected abstract void |
updateTransactionContext() |
public AbstractJdbcConnectionProxy(Connection delegate)
protected void addStatement(Statement s)
protected void removeStatement(Statement s)
protected abstract void updateTransactionContext()
throws SQLException
SQLExceptionprotected abstract boolean isEnlistedInGlobalTransaction()
public Statement createStatement() throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql) throws SQLException
SQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionpublic boolean getAutoCommit()
throws SQLException
SQLExceptionpublic void commit()
throws SQLException
SQLExceptionpublic void rollback()
throws SQLException
SQLExceptionpublic Savepoint setSavepoint() throws SQLException
SQLExceptionpublic Savepoint setSavepoint(String name) throws SQLException
SQLExceptionpublic void rollback(Savepoint savepoint) throws SQLException
SQLExceptionpublic void releaseSavepoint(Savepoint savepoint) throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionprotected void throwInvocationAfterClose(String methodName) throws AtomikosSQLException
throwInvocationAfterClose in class com.atomikos.util.DynamicProxySupport<Connection>AtomikosSQLExceptionprotected void forceCloseAllPendingStatements(boolean warn)
Copyright © 2023. All rights reserved.