com.jpattern.orm.transaction
Class NullTransaction

java.lang.Object
  extended by com.jpattern.orm.transaction.NullTransaction
All Implemented Interfaces:
Transaction

public class NullTransaction
extends Object
implements Transaction

Author:
Francesco Cina 24/giu/2011

Constructor Summary
NullTransaction()
           
 
Method Summary
 void commit()
           
 boolean isClosed()
           
 void rollback()
           
 void setRollbackOnly()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullTransaction

public NullTransaction()
Method Detail

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.