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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
Deprecated.void
commit()
Deprecated.getConnection
(DataSourceImpl ds, String user, String password) Deprecated.int
Deprecated.Deprecated.boolean
Deprecated.void
resume
(Transaction transaction) Deprecated.void
rollback()
Deprecated.void
Deprecated.void
setTransactionTimeout
(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:
begin
in interfaceTransactionManager
- Specified by:
begin
in interfaceUserTransaction
- Throws:
NotSupportedException
SystemException
-
commit
public void commit() throws RollbackException, HeuristicMixedException, HeuristicRollbackException, SecurityException, IllegalStateException, SystemExceptionDeprecated.- Specified by:
commit
in interfaceTransactionManager
- Specified by:
commit
in interfaceUserTransaction
- Throws:
RollbackException
HeuristicMixedException
HeuristicRollbackException
SecurityException
IllegalStateException
SystemException
-
getStatus
Deprecated.- Specified by:
getStatus
in interfaceTransactionManager
- Specified by:
getStatus
in interfaceUserTransaction
- Throws:
SystemException
-
getTransaction
Deprecated.- Specified by:
getTransaction
in interfaceTransactionManager
- Throws:
SystemException
-
rollback
Deprecated.- Specified by:
rollback
in interfaceTransactionManager
- Specified by:
rollback
in interfaceUserTransaction
- Throws:
IllegalStateException
SecurityException
SystemException
-
setRollbackOnly
Deprecated.- Specified by:
setRollbackOnly
in interfaceTransactionManager
- Specified by:
setRollbackOnly
in interfaceUserTransaction
- Throws:
IllegalStateException
SystemException
-
suspend
Deprecated.- Specified by:
suspend
in interfaceTransactionManager
- Throws:
SystemException
-
resume
public void resume(Transaction transaction) throws InvalidTransactionException, IllegalStateException, SystemException Deprecated.- Specified by:
resume
in interfaceTransactionManager
- Throws:
InvalidTransactionException
IllegalStateException
SystemException
-
setTransactionTimeout
Deprecated.- Specified by:
setTransactionTimeout
in interfaceTransactionManager
- Specified by:
setTransactionTimeout
in interfaceUserTransaction
- Throws:
SystemException
-