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

StoreCache interface doesn't work for many ID types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.1.1, 2.2.2, 2.3.0, 2.4.0
    • 2.1.2, 2.2.1.1, 2.2.3, 2.4.0
    • datacache, kernel
    • None

    Description

      While doing some internal testing, it was discovered that the javax.persistence.Cache.contains(Class, Object) method doesn't work for a number of id types. The implementation depends on JPAFacade helper to convert user provided [Class, Object] into a proper OpenJPAId, but it doesn't work in all cases.

      Attachments

        1. patch-FacadeHelperFix.patch
          28 kB
          Dalia Abo Sheasha

        Issue Links

          Activity

            People

              curtisr7 Richard G. Curtis
              curtisr7 Richard G. Curtis
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: