|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Transaction
EpPersistenceException
- in case of any errorpublic void rollback() throws EpPersistenceException
rollback
in interface Transaction
EpPersistenceException
- in case of any error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |