OpenJPA
  1. OpenJPA
  2. OPENJPA-1757

Em.refresh(..) not refreshing from the DB when shared-cache-mode is set to ALL

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.0
    • Fix Version/s: 2.1.0
    • Component/s: None
    • Labels:
      None

      Description

      <shared-cache-mode>ALL</shared-cache-mode> doesn't play nicely with em.refresh(...).

      The following sequence doesn't work:

      • Persist an Entity.
      • Start a transaction.
      • Update that Entity via SQL UPDATE.
      • Commit the transaction.
      • Call em.refresh(..) on the persisted entity.

        Activity

        Hide
        Rick Curtis added a comment -

        Committed revision 981664 to trunk.

        Show
        Rick Curtis added a comment - Committed revision 981664 to trunk.
        Hide
        Michael Dick added a comment -

        Closing issues which have been resolved for some time. If the problem persists, please reopen.

        Show
        Michael Dick added a comment - Closing issues which have been resolved for some time. If the problem persists, please reopen.

          People

          • Assignee:
            Rick Curtis
            Reporter:
            Rick Curtis
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development