Interface AutoDetach

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int DETACH_CLOSE
      Detach context on close.
      static int DETACH_COMMIT
      Detach context on transaction commit.
      static int DETACH_NONE
      Do not detach at all.
      static int DETACH_NONTXREAD
      Detach context on any nontransctional read, such that each nontransactional operation uses a new persistence context in essence.
      static int DETACH_ROLLBACK
      Detach context on failed transaction commit / rollback.
      static java.lang.String[] names  
      static int[] values  
    • Field Detail

      • DETACH_COMMIT

        static final int DETACH_COMMIT
        Detach context on transaction commit.
        See Also:
        Constant Field Values
      • DETACH_NONTXREAD

        static final int DETACH_NONTXREAD
        Detach context on any nontransctional read, such that each nontransactional operation uses a new persistence context in essence.
        See Also:
        Constant Field Values
      • DETACH_ROLLBACK

        static final int DETACH_ROLLBACK
        Detach context on failed transaction commit / rollback.
        See Also:
        Constant Field Values
      • DETACH_NONE

        static final int DETACH_NONE
        Do not detach at all. Skips proxying second-class containers.
        See Also:
        Constant Field Values
      • names

        static final java.lang.String[] names
      • values

        static final int[] values