com.atlassian.bamboo.persistence
Class BambooTransactionHibernateTemplate

java.lang.Object
  extended by com.atlassian.bamboo.persistence.BambooTransactionHibernateTemplate

public class BambooTransactionHibernateTemplate
extends java.lang.Object

Template for running something within a Hibernate transaction


Constructor Summary
BambooTransactionHibernateTemplate(org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate, org.springframework.transaction.support.TransactionTemplate transactionTemplate)
           
 
Method Summary
 void execute(org.springframework.orm.hibernate.HibernateCallback hibernateCallback)
           
<T> T
executeWithResult(org.springframework.orm.hibernate.HibernateCallback hibernateCallback)
           
<T> T
executeWithResult(org.springframework.transaction.support.TransactionCallback transactionCallback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BambooTransactionHibernateTemplate

public BambooTransactionHibernateTemplate(org.springframework.orm.hibernate.HibernateTemplate hibernateTemplate,
                                          org.springframework.transaction.support.TransactionTemplate transactionTemplate)
Method Detail

executeWithResult

public <T> T executeWithResult(org.springframework.transaction.support.TransactionCallback transactionCallback)

executeWithResult

public <T> T executeWithResult(org.springframework.orm.hibernate.HibernateCallback hibernateCallback)

execute

public void execute(org.springframework.orm.hibernate.HibernateCallback hibernateCallback)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.