org.hibernate.ejb
Class TransactionImpl
java.lang.Object
org.hibernate.ejb.TransactionImpl
- All Implemented Interfaces:
- EntityTransaction
public class TransactionImpl
- extends Object
- implements EntityTransaction
- Author:
- Gavin King, Emmanuel Bernard
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionImpl
public TransactionImpl(AbstractEntityManagerImpl entityManager)
begin
public void begin()
- Specified by:
begin
in interface EntityTransaction
commit
public void commit()
- Specified by:
commit
in interface EntityTransaction
rollback
public void rollback()
- Specified by:
rollback
in interface EntityTransaction
setRollbackOnly
public void setRollbackOnly()
- Specified by:
setRollbackOnly
in interface EntityTransaction
getRollbackOnly
public boolean getRollbackOnly()
- Specified by:
getRollbackOnly
in interface EntityTransaction
isActive
public boolean isActive()
- Specified by:
isActive
in interface EntityTransaction
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.