|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.persistence.impl.HibernateTransactionImpl
public class HibernateTransactionImpl
The hibernate implementation of a transaction in ElasticPath. It is a wrap of org.hibernate.Transaction.
| Constructor Summary | |
|---|---|
HibernateTransactionImpl(org.hibernate.Transaction transaction)
Create an EP transaction based on the given org.hibernate.Transaction. |
|
| Method Summary | |
|---|---|
void |
commit()
Commit changes. |
void |
rollback()
Rollback changes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateTransactionImpl(org.hibernate.Transaction transaction)
org.hibernate.Transaction.
transaction - the org.hibernate.Transaction| Method Detail |
|---|
public void commit()
throws EpPersistenceException
commit in interface TransactionEpPersistenceException - in case of any error
public void rollback()
throws EpPersistenceException
rollback in interface TransactionEpPersistenceException - in case of any error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||