public class TransactionImpl extends Object implements EntityTransaction
Constructor and Description |
---|
TransactionImpl(AbstractEntityManagerImpl entityManager) |
Modifier and Type | Method and Description |
---|---|
void |
begin() |
void |
commit() |
boolean |
getRollbackOnly() |
boolean |
isActive() |
void |
rollback() |
void |
setRollbackOnly() |
public TransactionImpl(AbstractEntityManagerImpl entityManager)
public void begin()
begin
in interface EntityTransaction
public void commit()
commit
in interface EntityTransaction
public void rollback()
rollback
in interface EntityTransaction
public void setRollbackOnly()
setRollbackOnly
in interface EntityTransaction
public boolean getRollbackOnly()
getRollbackOnly
in interface EntityTransaction
public boolean isActive()
isActive
in interface EntityTransaction
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.