Class SpringTransaction


  • public abstract class SpringTransaction
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract void execute​(java.sql.Connection con)  
      void run​(org.springframework.transaction.PlatformTransactionManager transactionManager, javax.sql.DataSource dataSource, org.springframework.transaction.TransactionDefinition def)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringTransaction

        public SpringTransaction()
    • Method Detail

      • execute

        protected abstract void execute​(java.sql.Connection con)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public void run​(org.springframework.transaction.PlatformTransactionManager transactionManager,
                        javax.sql.DataSource dataSource,
                        org.springframework.transaction.TransactionDefinition def)
                 throws java.lang.Exception
        Throws:
        java.lang.Exception