OpenJPA
  1. OpenJPA
  2. OPENJPA-1463

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta
    • Component/s: None
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Pinaki Poddar
            Reporter:
            Pinaki Poddar
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development