Class HelpScopeTrans

    • Method Detail

      • enter

        public static void enter​(TxScope txScope)
        Entering an enhanced transactional method.
      • exit

        public static void exit​(Object returnOrThrowable,
                                int opCode)
        Exiting an enhanced transactional method.
      • setEnabled

        public static void setEnabled​(boolean enabled)
        Defines if the @Transactional does what is supposed to do or is disabled (useful only unit testing)
        Parameters:
        enabled - if set to false, @Transactional will not create a transaction