public class BambooTransactionHibernateTemplate extends Object implements TransactionAndHibernateTemplate
Constructor and Description |
---|
BambooTransactionHibernateTemplate(org.springframework.orm.hibernate3.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.hibernate3.HibernateCallback<T> hibernateCallback) |
<T> T |
execute(org.springframework.transaction.support.TransactionCallback<T> action) |
<T> T |
executeWithResult(org.springframework.orm.hibernate3.HibernateCallback<T> hibernateCallback)
Deprecated.
|
<T> T |
executeWithResult(org.springframework.transaction.support.TransactionCallback<T> transactionCallback)
Deprecated.
|
public BambooTransactionHibernateTemplate(org.springframework.orm.hibernate3.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.hibernate3.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
@Deprecated public <T> T executeWithResult(org.springframework.transaction.support.TransactionCallback<T> transactionCallback)
execute(org.springframework.transaction.support.TransactionCallback)
@Deprecated public <T> T executeWithResult(org.springframework.orm.hibernate3.HibernateCallback<T> hibernateCallback)
execute(org.springframework.orm.hibernate3.HibernateCallback)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.