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

JPQL new operator arguments should be more flexible in matching constructor arguments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-beta
    • None
    • None

    Description

      A JPQL query
      "select new Range(MIN(p.id), MAX(p.id)) from PObject p"

      where p.id is int and Range has constructor (long,long) should be supported.
      This is done by matching the constructors of Range type with the supplied arguments (int,int) in a more flexible manner.

      Attachments

        Activity

          People

            ppoddar@apache.org Pinaki Poddar
            ppoddar@apache.org Pinaki Poddar
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: