Interface TransactionAndHibernateTemplate

  • All Superinterfaces:
    org.springframework.transaction.support.TransactionOperations
    All Known Implementing Classes:
    BambooTransactionHibernateTemplate, MockTransactionTemplate

    public interface TransactionAndHibernateTemplate
    extends org.springframework.transaction.support.TransactionOperations
    Template for running something within a Hibernate session/transaction
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void doWork​(org.hibernate.jdbc.Work work)  
      <T> T execute​(org.springframework.orm.hibernate5.HibernateCallback<T> hibernateCallback)  
      • Methods inherited from interface org.springframework.transaction.support.TransactionOperations

        execute, executeWithoutResult
    • Method Detail

      • execute

        <T> T execute​(org.springframework.orm.hibernate5.HibernateCallback<T> hibernateCallback)
      • doWork

        void doWork​(org.hibernate.jdbc.Work work)
             throws org.hibernate.HibernateException
        Throws:
        org.hibernate.HibernateException