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.TransactionOperationsorg.springframework.transaction.TransactionExceptionpublic <T> T execute(org.springframework.orm.hibernate5.HibernateCallback<T> hibernateCallback)
execute in interface TransactionAndHibernateTemplatepublic void doWork(org.hibernate.jdbc.Work work)
throws org.hibernate.HibernateException
doWork in interface TransactionAndHibernateTemplateorg.hibernate.HibernateExceptionCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.