Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1767

OneToMany relationships owned by the many side aren't properly evicted from the DataCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 2.0.0, 2.1.0
    • None
    • datacache
    • None

    Description

      When working on OPENJPA-1469 I found that the test org.apache.openjpa.persistence.spring.TestLibService fails because we have stale data in the cache. To recreate this failure, set "openjpa.DataCache","true" in the setup() method.

      The net of the problem is that if the non-owning side of the relationship exists in the datacache and the relationship is updated on the owning side, the non-owning side doesn't get updated.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              curtisr7 Richard G. Curtis
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: