接口 ResourceTransactionDefinition

    • 方法详细资料

      • isLocalResource

        boolean isLocalResource()
        Determine whether the transactional resource is ready for local optimizations.
        返回:
        true if the resource is known to be entirely transaction-local, not affecting any operations outside of the scope of the current transaction
        另请参阅:
        TransactionDefinition.isReadOnly()