Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1007 OpenJPA 2.0 iteration 6 primary task
  3. OPENJPA-1035

JPA2 Query allow map key/value path as argument of scalar functions

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-M2
    • 2.0.0-M2
    • query
    • None

    Description

      JPA2 query syntax allows path that navigate thru map key or value to appear as argument to scalar functions.
      Examples:

      select CONCAT(KEY(p).name, 'xyz') from Employee e,
      in (e.phones) p WHERE SUBSTRING(KEY(p).name, 2) like '%2'

      Attachments

        Activity

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

          People

            fancy Catalina Wei
            fancy Catalina Wei
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment