public class HibernateBulkTransaction extends Object implements BulkTransaction
Constructor and Description |
---|
HibernateBulkTransaction(HibernateSessionManager hibernateSessionManager) |
Modifier and Type | Method and Description |
---|---|
<T> boolean |
beginTransaction(T... reattachObjects) |
boolean |
commitTransaciton() |
<T> boolean |
rollbackTransaciton() |
boolean |
shouldStartTransaction() |
public HibernateBulkTransaction(HibernateSessionManager hibernateSessionManager)
public boolean shouldStartTransaction() throws net.sf.hibernate.HibernateException
shouldStartTransaction
in interface BulkTransaction
net.sf.hibernate.HibernateException
public <T> boolean beginTransaction(T... reattachObjects) throws net.sf.hibernate.HibernateException
beginTransaction
in interface BulkTransaction
net.sf.hibernate.HibernateException
public <T> boolean rollbackTransaciton() throws net.sf.hibernate.HibernateException
rollbackTransaciton
in interface BulkTransaction
net.sf.hibernate.HibernateException
public boolean commitTransaciton() throws net.sf.hibernate.HibernateException
commitTransaciton
in interface BulkTransaction
net.sf.hibernate.HibernateException
Copyright © 2003–2017 Atlassian. All rights reserved.