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 transition


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)
           
 java.lang.Object executeWithResult(org.springframework.orm.hibernate.HibernateCallback hibernateCallback)
           
 
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 java.lang.Object executeWithResult(org.springframework.orm.hibernate.HibernateCallback hibernateCallback)

execute

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


Copyright © 2012 Atlassian. All Rights Reserved.