Package com.atlassian.bamboo.persistence
Class BambooConnectionTemplate
- java.lang.Object
-
- com.atlassian.bamboo.persistence.BambooConnectionTemplate
-
public class BambooConnectionTemplate extends Object
Template for running direct commands on theConnection
within a Hibernate transaction
-
-
Constructor Summary
Constructors Constructor Description BambooConnectionTemplate(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate, org.springframework.transaction.support.TransactionTemplate transactionTemplate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(BambooConnectionCallback connectionCallback)
<T> T
execute(BambooConnectionSupplyingCallback<T> connectionCallback)
-
-
-
Method Detail
-
execute
public void execute(BambooConnectionCallback connectionCallback)
-
execute
public <T> T execute(BambooConnectionSupplyingCallback<T> connectionCallback)
-
-