Interface TransactionAttribute

    • Method Detail

      • getQualifier

        String getQualifier()
        Return a qualifier value associated with this transaction attribute.

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

        Since:
        3.0
      • rollbackOn

        boolean rollbackOn​(Throwable ex)
        Should we roll back on the given exception?
        Parameters:
        ex - the exception to evaluate
        Returns:
        whether to perform a rollback or not