public class BambooTransactionHibernateTemplate extends Object implements TransactionAndHibernateTemplate
Constructor and Description |
---|
BambooTransactionHibernateTemplate(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate,
org.springframework.transaction.support.TransactionTemplate transactionTemplate) |
Modifier and Type | Method and Description |
---|---|
void |
doWork(org.hibernate.jdbc.Work work) |
<T> T |
execute(org.springframework.orm.hibernate5.HibernateCallback<T> hibernateCallback) |
<T> T |
execute(org.springframework.transaction.support.TransactionCallback<T> action) |
public BambooTransactionHibernateTemplate(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate, org.springframework.transaction.support.TransactionTemplate transactionTemplate)
public <T> T execute(org.springframework.transaction.support.TransactionCallback<T> action) throws org.springframework.transaction.TransactionException
execute
in interface org.springframework.transaction.support.TransactionOperations
org.springframework.transaction.TransactionException
public <T> T execute(org.springframework.orm.hibernate5.HibernateCallback<T> hibernateCallback)
execute
in interface TransactionAndHibernateTemplate
public void doWork(org.hibernate.jdbc.Work work) throws org.hibernate.HibernateException
doWork
in interface TransactionAndHibernateTemplate
org.hibernate.HibernateException
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.