Class SAPNetWeaverTransactionController
java.lang.Object
org.eclipse.persistence.transaction.AbstractTransactionController
org.eclipse.persistence.transaction.JTATransactionController
org.eclipse.persistence.transaction.sap.SAPNetWeaverTransactionController
- All Implemented Interfaces:
ExternalTransactionController
TransactionController implementation for SAP NetWeaver AS Java 7.1 (including
EhP 1), 7.2 and follow-up releases.
-
Field Summary
Fields inherited from class org.eclipse.persistence.transaction.JTATransactionController
defaultTransactionManager, transactionManager
Fields inherited from class org.eclipse.persistence.transaction.AbstractTransactionController
activeUnitOfWorkThreadLocal, currentlyProcessedListeners, exceptionHandler, listenerFactory, numSessionsRequiringSequencingCallback, sequencingListeners, session, unitsOfWork
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.transaction.TransactionManager
INTERNAL: Obtain and return the JTA TransactionManager on this platform.Methods inherited from class org.eclipse.persistence.transaction.JTATransactionController
beginTransaction_impl, canBeginTransaction_impl, canCommitTransaction_impl, canIssueSQLToDatabase_impl, canMergeUnitOfWork_impl, canRollbackTransaction_impl, commitTransaction_impl, getDefaultTransactionManager, getIntStatus, getTransaction_impl, getTransactionKey_impl, getTransactionManager, getTransactionStatus_impl, isRolledBack_impl, markTransactionForRollback_impl, registerSynchronization_impl, rollbackTransaction_impl, setDefaultTransactionManager, setTransactionManager, statusToString_impl
Methods inherited from class org.eclipse.persistence.transaction.AbstractTransactionController
addUnitOfWork, beginTransaction, bindToCurrentTransaction, clearSequencingListeners, commitTransaction, getActiveSequencingCallback, getActiveUnitOfWork, getExceptionHandler, getListenerFactory, getSession, getTransaction, getTransactionKey, getTransactionStatus, getUnitsOfWork, hasActiveUnitOfWork, initializeSequencingListeners, isSequencingCallbackRequired, jndiLookup, logTxStateTrace, logTxTrace, lookupActiveUnitOfWork, lookupActiveUnitOfWork, markTransactionForRollback, noTransactionOrRolledBackOrCommited, numSessionsRequiringSequencingCallback, registerSynchronizationListener, removeSequencingListener, removeUnitOfWork, rollbackTransaction, setExceptionHandler, setListenerFactory, setSession, setUnitsOfWork
-
Field Details
-
JNDI_TRANSACTION_MANAGER_NAME
- See Also:
-
-
Constructor Details
-
SAPNetWeaverTransactionController
public SAPNetWeaverTransactionController()
-
-
Method Details
-
acquireTransactionManager
Description copied from class:JTATransactionController
INTERNAL: Obtain and return the JTA TransactionManager on this platform. By default try java:comp JNDI lookup. This method can be can be overridden by subclasses to obtain the transaction manager by whatever means is appropriate to the server. This method is invoked by the constructor to initialize the transaction manager at instance-creation time. Alternatively the transaction manager can be set directly on the controller instance using the setTransactionManager() method after the instance has been created.- Overrides:
acquireTransactionManager
in classJTATransactionController
- Returns:
- The TransactionManager for the transaction system
- Throws:
Exception
-