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

StoreCache interface doesn't work for many ID types

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1, 2.1.1, 2.2.2, 2.3.0, 2.4.0
    • Fix Version/s: 2.1.2, 2.2.1.1, 2.2.3, 2.4.0
    • Component/s: datacache, kernel
    • Labels:
      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

        Issue Links

          Activity

            People

            • Assignee:
              curtisr7 Richard G. Curtis
              Reporter:
              curtisr7 Richard G. Curtis

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment