Module org.eclipse.persistence.jpa
Class TransactionManagerImpl
java.lang.Object
org.eclipse.persistence.internal.jpa.transaction.TransactionManagerImpl
- All Implemented Interfaces:
TransactionManager,UserTransaction
@Deprecated
public class TransactionManagerImpl
extends Object
implements TransactionManager, UserTransaction
Deprecated.
Implementation of JTA Transaction manager class.
Currently support is limited to enlisting a single tx data source
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()Deprecated.voidcommit()Deprecated.getConnection(DataSourceImpl ds, String user, String password) Deprecated.intDeprecated.Deprecated.booleanDeprecated.voidresume(Transaction transaction) Deprecated.voidrollback()Deprecated.voidDeprecated.voidsetTransactionTimeout(int i) Deprecated.suspend()Deprecated.
-
Constructor Details
-
TransactionManagerImpl
public TransactionManagerImpl()Deprecated.
-
-
Method Details
-
isTransactionActive
public boolean isTransactionActive()Deprecated. -
getConnection
public Connection getConnection(DataSourceImpl ds, String user, String password) throws SQLException Deprecated.- Throws:
SQLException
-
begin
Deprecated.- Specified by:
beginin interfaceTransactionManager- Specified by:
beginin interfaceUserTransaction- Throws:
NotSupportedExceptionSystemException
-
commit
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemExceptionDeprecated.- Specified by:
commitin interfaceTransactionManager- Specified by:
commitin interfaceUserTransaction- Throws:
RollbackExceptionHeuristicMixedExceptionHeuristicRollbackExceptionSecurityExceptionIllegalStateExceptionSystemException
-
getStatus
Deprecated.- Specified by:
getStatusin interfaceTransactionManager- Specified by:
getStatusin interfaceUserTransaction- Throws:
SystemException
-
getTransaction
Deprecated.- Specified by:
getTransactionin interfaceTransactionManager- Throws:
SystemException
-
rollback
Deprecated.- Specified by:
rollbackin interfaceTransactionManager- Specified by:
rollbackin interfaceUserTransaction- Throws:
IllegalStateExceptionSecurityExceptionSystemException
-
setRollbackOnly
Deprecated.- Specified by:
setRollbackOnlyin interfaceTransactionManager- Specified by:
setRollbackOnlyin interfaceUserTransaction- Throws:
IllegalStateExceptionSystemException
-
suspend
Deprecated.- Specified by:
suspendin interfaceTransactionManager- Throws:
SystemException
-
resume
public void resume(Transaction transaction) throws InvalidTransactionException, IllegalStateException, SystemException Deprecated.- Specified by:
resumein interfaceTransactionManager- Throws:
InvalidTransactionExceptionIllegalStateExceptionSystemException
-
setTransactionTimeout
Deprecated.- Specified by:
setTransactionTimeoutin interfaceTransactionManager- Specified by:
setTransactionTimeoutin interfaceUserTransaction- Throws:
SystemException
-