@Deprecated
public class TransactionManagerImpl
extends java.lang.Object
| Constructor and Description |
|---|
TransactionManagerImpl()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Deprecated.
|
void |
commit()
Deprecated.
|
java.sql.Connection |
getConnection(DataSourceImpl ds,
java.lang.String user,
java.lang.String password)
Deprecated.
|
int |
getStatus()
Deprecated.
|
Transaction |
getTransaction()
Deprecated.
|
boolean |
isTransactionActive()
Deprecated.
|
void |
resume(Transaction transaction)
Deprecated.
|
void |
rollback()
Deprecated.
|
void |
setRollbackOnly()
Deprecated.
|
void |
setTransactionTimeout(int i)
Deprecated.
|
Transaction |
suspend()
Deprecated.
|
public boolean isTransactionActive()
public java.sql.Connection getConnection(DataSourceImpl ds, java.lang.String user, java.lang.String password) throws java.sql.SQLException
java.sql.SQLExceptionpublic void begin()
throws NotSupportedException,
SystemException
NotSupportedExceptionSystemExceptionpublic void commit()
throws RollbackException,
HeuristicMixedException,
HeuristicRollbackException,
java.lang.SecurityException,
java.lang.IllegalStateException,
SystemException
RollbackExceptionHeuristicMixedExceptionHeuristicRollbackExceptionjava.lang.SecurityExceptionjava.lang.IllegalStateExceptionSystemExceptionpublic int getStatus()
throws SystemException
SystemExceptionpublic Transaction getTransaction()
throws SystemException
SystemExceptionpublic void rollback()
throws java.lang.IllegalStateException,
java.lang.SecurityException,
SystemException
java.lang.IllegalStateExceptionjava.lang.SecurityExceptionSystemExceptionpublic void setRollbackOnly()
throws java.lang.IllegalStateException,
SystemException
java.lang.IllegalStateExceptionSystemExceptionpublic Transaction suspend()
throws SystemException
SystemExceptionpublic void resume(Transaction transaction)
throws javax.transaction.InvalidTransactionException,
java.lang.IllegalStateException,
SystemException
javax.transaction.InvalidTransactionExceptionjava.lang.IllegalStateExceptionSystemExceptionpublic void setTransactionTimeout(int i)
throws SystemException
SystemException