You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Pinaki Poddar (JIRA)" <ji...@apache.org> on 2010/01/15 18:38:54 UTC

[jira] Created: (OPENJPA-1463) JPQL new operator arguments should be more flexible in matching constructor arguments

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

                 Key: OPENJPA-1463
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1463
             Project: OpenJPA
          Issue Type: Bug
            Reporter: Pinaki Poddar


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.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (OPENJPA-1463) JPQL new operator arguments should be more flexible in matching constructor arguments

Posted by "Pinaki Poddar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pinaki Poddar resolved OPENJPA-1463.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0-M4
         Assignee: Pinaki Poddar

The change was committed before this JIRA.

See Revision 899532.

> JPQL new operator arguments should be more flexible in matching constructor arguments
> -------------------------------------------------------------------------------------
>
>                 Key: OPENJPA-1463
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1463
>             Project: OpenJPA
>          Issue Type: Bug
>            Reporter: Pinaki Poddar
>            Assignee: Pinaki Poddar
>             Fix For: 2.0.0-M4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.