public class JtaAwareThreadLocalConnection extends AbstractJdbcConnectionProxy
| Constructor and Description |
|---|
JtaAwareThreadLocalConnection(AtomikosNonXAPooledConnection pooledConnection,
String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected Class<Connection> |
getRequiredInterfaceType() |
protected void |
handleInvocationException(Throwable e) |
void |
incUseCount() |
boolean |
isAvailableForReuseByPool() |
protected boolean |
isEnlistedInGlobalTransaction()
Checks if the connection is being used on behalf the a transaction.
|
String |
toString() |
void |
transactionTerminated(boolean commit) |
protected void |
updateTransactionContext() |
addStatement, commit, createStatement, createStatement, createStatement, forceCloseAllPendingStatements, getAutoCommit, isClosed, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, removeStatement, rollback, rollback, setAutoCommit, setSavepoint, setSavepoint, throwInvocationAfterClosepublic JtaAwareThreadLocalConnection(AtomikosNonXAPooledConnection pooledConnection, String resourceName)
protected void updateTransactionContext()
throws SQLException
updateTransactionContext in class AbstractJdbcConnectionProxySQLExceptionpublic void transactionTerminated(boolean commit)
throws SQLException
SQLExceptionpublic void close()
throws SQLException
SQLExceptionpublic void incUseCount()
public boolean isAvailableForReuseByPool()
protected boolean isEnlistedInGlobalTransaction()
isEnlistedInGlobalTransaction in class AbstractJdbcConnectionProxyprotected void handleInvocationException(Throwable e) throws Throwable
handleInvocationException in class com.atomikos.util.DynamicProxySupport<Connection>Throwableprotected Class<Connection> getRequiredInterfaceType()
getRequiredInterfaceType in class com.atomikos.util.DynamicProxySupport<Connection>Copyright © 2023. All rights reserved.