org.granite.tide.data
Class JPATransactionManager
java.lang.Object
org.granite.tide.data.JPALocalTransactionManager
org.granite.tide.data.JPATransactionManager
- All Implemented Interfaces:
- TideTransactionManager
public class JPATransactionManager
- extends JPALocalTransactionManager
Responsible for attaching a entity with the entity mangager
- Author:
- cingram
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPATransactionManager
public JPATransactionManager()
begin
public Object begin(TideTransactionPersistenceManager pm)
- Specified by:
begin in interface TideTransactionManager- Overrides:
begin in class JPALocalTransactionManager
commit
public void commit(Object tx)
throws Exception
- Specified by:
commit in interface TideTransactionManager- Overrides:
commit in class JPALocalTransactionManager
- Throws:
Exception
rollback
public void rollback(Object tx)
- Specified by:
rollback in interface TideTransactionManager- Overrides:
rollback in class JPALocalTransactionManager