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

    • 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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment