| protected TransactionManager acquireTransactionManager() throws Exception Overrides org.eclipse.persistence.transaction.JTATransactionController.acquireTransactionManager.
Doc from org.eclipse.persistence.transaction.JTATransactionController.acquireTransactionManager.
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.
- Returns:TransactionManager
The TransactionManager for the transaction system
- Annotations
- @Override
|