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

        Hide
        Pinaki Poddar added a comment -

        The change was committed before this JIRA.

        See Revision 899532.

        Show
        Pinaki Poddar added a comment - The change was committed before this JIRA. See Revision 899532.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development