Package com.atlassian.bamboo.persistence
Class BambooOpenSessionTemplateImpl
java.lang.Object
com.atlassian.bamboo.persistence.BambooOpenSessionTemplateImpl
- All Implemented Interfaces:
BambooOpenSessionTemplate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.hibernate.Session
openSession
(org.hibernate.SessionFactory sessionFactory) void
runWithSession
(@NotNull Runnable runnable)
-
Constructor Details
-
BambooOpenSessionTemplateImpl
public BambooOpenSessionTemplateImpl()
-
-
Method Details
-
openSession
protected org.hibernate.Session openSession(org.hibernate.SessionFactory sessionFactory) throws org.springframework.dao.DataAccessResourceFailureException - Throws:
org.springframework.dao.DataAccessResourceFailureException
-
runWithSession
- Specified by:
runWithSession
in interfaceBambooOpenSessionTemplate
-