Class TransactionTest

    • Constructor Detail

      • TransactionTest

        public TransactionTest()
    • Method Detail

      • tearDown

        public void tearDown()
      • testCommitWithActivateFalse

        public void testCommitWithActivateFalse()
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testIneffectiveRollbackWithActivateFalse

        public void testIneffectiveRollbackWithActivateFalse()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testErrorOnBeginWithNullConnection

        public void testErrorOnBeginWithNullConnection()
                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testErrorOnBeginWithExceptionInDataSource

        public void testErrorOnBeginWithExceptionInDataSource()
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testItemAccessDuringCommit_PLA10839

        public void testItemAccessDuringCommit_PLA10839()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testItemUpdateDuringCommit_PLA10839

        public void testItemUpdateDuringCommit_PLA10839()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteLogicOnCommit

        public void shouldExecuteLogicOnCommit()
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteLogicOnRollback

        public void shouldExecuteLogicOnRollback()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteLogicOnCommit_NestedTX

        public void shouldExecuteLogicOnCommit_NestedTX()
                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldExecuteLogicOnRollback_NestedTX

        public void shouldExecuteLogicOnRollback_NestedTX()
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testErrorInNestedCommit

        public void testErrorInNestedCommit()
      • testErrorInNestedCommitUsingTxBody

        public void testErrorInNestedCommitUsingTxBody()
      • testRollbackOnCommitError

        public void testRollbackOnCommitError()
                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testConnectionNoClosedAfterRollback

        public void testConnectionNoClosedAfterRollback()
                                                 throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testErrorInCommit

        public void testErrorInCommit()
                               throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • testLocking

        public void testLocking()
                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGetAllAttributes

        public void testGetAllAttributes()
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInTXModification1

        public void testInTXModification1()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInTXModification2

        public void testInTXModification2()
                                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testInTXRemoval

        public void testInTXRemoval()
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testGlobalCacheInvalidationMessageSent

        public void testGlobalCacheInvalidationMessageSent()
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testJaloCacheInvalidation

        public void testJaloCacheInvalidation()
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testCacheInvalidationWithUserTransaction

        public void testCacheInvalidationWithUserTransaction()
                                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testDeadlocks

        public void testDeadlocks()
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedTransactionExecute

        public void testNestedTransactionExecute()
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedTransactionWithCreate

        public void testNestedTransactionWithCreate()
                                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testNestedTAError

        public void testNestedTAError()
                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testPermittedExceptions

        public void testPermittedExceptions()
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • testToException

        public void testToException()
      • testWrongOpenTxCountAfterErrorDuringRollback

        public void testWrongOpenTxCountAfterErrorDuringRollback()
      • testItemNotAliveAfterTransactionRollback

        public void testItemNotAliveAfterTransactionRollback()