Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0-M3
    • Component/s: kernel
    • Labels:
      None

      Activity

      Hide
      Albert Lee added a comment -

      The recent level spec has relaxed when the TransactionRequiredException will be thrown per the em interface contract.
      -------------------------

      • @throws TransactionRequiredException if there is no transaction and if invoked on a container-managed EntityManager instance with PersistenceContextType.TRANSACTION

      >>>> or with a lock mode other than NONE.

      public void refresh(Object entity, LockModeType lockMode);
      -------------------------

      Show
      Albert Lee added a comment - The recent level spec has relaxed when the TransactionRequiredException will be thrown per the em interface contract. ------------------------- @throws TransactionRequiredException if there is no transaction and if invoked on a container-managed EntityManager instance with PersistenceContextType.TRANSACTION >>>> or with a lock mode other than NONE. public void refresh(Object entity, LockModeType lockMode); -------------------------

        People

        • Assignee:
          Albert Lee
          Reporter:
          Albert Lee
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development