Interface NativeXAResource

  • All Superinterfaces:
    XAResource

    public interface NativeXAResource
    extends XAResource
    This interface extends JTA XAResource interface and defines new methods for thread association support and resource initialization.
    • Method Detail

      • isInitialized

        boolean isInitialized​(Thread thread)
        checks if the thread has opened (xa_open) the RM atleast once.
        Parameters:
        thread - the thread to be checked for resource initialization.
        Returns:
        true if the thread has opened the resource (RM) atleast once.
      • enlistConnectionInXA

        void enlistConnectionInXA()
        enlist the JDBC connection in XA (needed to support MSSQLServer) this should be called once per connection per transaction