Class BambooOpenSessionTemplateImpl

java.lang.Object
com.atlassian.bamboo.persistence.BambooOpenSessionTemplateImpl
All Implemented Interfaces:
BambooOpenSessionTemplate

public class BambooOpenSessionTemplateImpl extends Object implements BambooOpenSessionTemplate
  • 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

      public void runWithSession(@NotNull @NotNull Runnable runnable)
      Specified by:
      runWithSession in interface BambooOpenSessionTemplate