接口 TransactionAttribute

    • 方法详细资料

      • 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.

        从以下版本开始:
        3.0
      • rollbackOn

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