public class EntityTransactionImpl extends Object implements EntityTransaction
EntityTransaction.| Constructor and Description |
|---|
EntityTransactionImpl(EntityManagerImpl entityManager,
ConnectionImpl connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
begin() |
void |
commit() |
boolean |
getRollbackOnly() |
boolean |
isActive() |
void |
rollback() |
void |
setRollbackOnly() |
public EntityTransactionImpl(EntityManagerImpl entityManager, ConnectionImpl connection)
entityManager - the entity managerconnection - the active connectionpublic void begin()
begin in interface EntityTransactionpublic void commit()
commit in interface EntityTransactionpublic boolean getRollbackOnly()
getRollbackOnly in interface EntityTransactionpublic boolean isActive()
isActive in interface EntityTransactionpublic void rollback()
rollback in interface EntityTransactionpublic void setRollbackOnly()
setRollbackOnly in interface EntityTransactionCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.