Interface TransactionAttribute

    • Method Detail

      • getQualifier

        @Nullable
        java.lang.String getQualifier()
        Deprecated.
        Return a qualifier value associated with this transaction attribute.

        This may be used for choosing a corresponding transaction manager to process this specific transaction.

        Returns:
        The qualifier
        Since:
        3.0
      • rollbackOn

        boolean rollbackOn​(java.lang.Throwable ex)
        Deprecated.
        Should we roll back on the given exception?
        Specified by:
        rollbackOn in interface TransactionDefinition
        Parameters:
        ex - the exception to evaluate
        Returns:
        whether to perform a rollback or not