Class BambooTransactionHibernateTemplate

    • Constructor Summary

      Constructors 
      Constructor Description
      BambooTransactionHibernateTemplate​(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate, org.springframework.transaction.support.TransactionTemplate transactionTemplate)  
    • Constructor Detail

      • BambooTransactionHibernateTemplate

        public BambooTransactionHibernateTemplate​(org.springframework.orm.hibernate5.HibernateTemplate hibernateTemplate,
                                                  org.springframework.transaction.support.TransactionTemplate transactionTemplate)
    • Method Detail

      • execute

        public <T> T execute​(org.springframework.transaction.support.TransactionCallback<T> action)
                      throws org.springframework.transaction.TransactionException
        Specified by:
        execute in interface org.springframework.transaction.support.TransactionOperations
        Throws:
        org.springframework.transaction.TransactionException
      • doWork

        public void doWork​(org.hibernate.jdbc.Work work)
                    throws org.hibernate.HibernateException
        Specified by:
        doWork in interface TransactionAndHibernateTemplate
        Throws:
        org.hibernate.HibernateException