com.jpattern.orm.transaction
Class NullTransaction
java.lang.Object
com.jpattern.orm.transaction.NullTransaction
- All Implemented Interfaces:
- Transaction
public class NullTransaction
- extends Object
- implements Transaction
- Author:
- Francesco Cina
24/giu/2011
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullTransaction
public NullTransaction()
setRollbackOnly
public void setRollbackOnly()
throws OrmException
- Specified by:
setRollbackOnly in interface Transaction
- Throws:
OrmException
rollback
public void rollback()
throws OrmException
- Specified by:
rollback in interface Transaction
- Throws:
OrmException
commit
public void commit()
throws OrmException
- Specified by:
commit in interface Transaction
- Throws:
OrmException
isClosed
public boolean isClosed()
- Specified by:
isClosed in interface Transaction
Copyright © 2013. All Rights Reserved.