Class AbstractRelationModifictionContextIntegrationTest

    • Constructor Detail

      • AbstractRelationModifictionContextIntegrationTest

        public AbstractRelationModifictionContextIntegrationTest()
    • Method Detail

      • shouldTouchItemWhenOptimisticLockingIsDisabled

        public void shouldTouchItemWhenOptimisticLockingIsDisabled()
                                                            throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isFlushSupposedToHappenInCurrentTx

        protected boolean isFlushSupposedToHappenInCurrentTx​(long pkValue)
      • shouldCreateNewLinkWhenOptimisticLockingIsDisabled

        public void shouldCreateNewLinkWhenOptimisticLockingIsDisabled()
                                                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldShiftExistingLinkWhenOptimisticLockingIsDisabled

        public void shouldShiftExistingLinkWhenOptimisticLockingIsDisabled()
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled

        public void shouldRemoveExistingLinkWhenOptimisticLockingIsDisabled()
                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldFailOnShiftingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch

        public void shouldFailOnShiftingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch()
                                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch

        public void shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsEnabledAndVersionDoesntMatch()
                                                                                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldNotFailOnShiftingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch

        public void shouldNotFailOnShiftingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch()
                                                                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch

        public void shouldFailOnRemovingExistingLinkWhenOptimisticLockingIsDisabledAndVersionDoesntMatch()
                                                                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception