You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Catalina Wei (JIRA)" <ji...@apache.org> on 2009/01/09 21:37:59 UTC

[jira] Resolved: (OPENJPA-855) JPA2 Query support for Index function

     [ https://issues.apache.org/jira/browse/OPENJPA-855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Catalina Wei resolved OPENJPA-855.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0

There are open issues in published spec related to Index function:
1. When @OrderColumn specifies contiguous=false, should Index function return the position of the element in the collection as it fully materialized in-memory or the order column value stored in the  table (database) ?
2. When @OrderColumn specifies columnDefinition of non-integral type, to what extent should Index function support non-integral types ?
3. When order column contains null value, what value should we return for index function on null value ?

The current implementation simply returns the OrderColumn value from the table in which the column is defined and assumes no null value in order columns.

As open issues get resolved in JPA2 Spec, the changes required  to confirm to the spec will follow.

> JPA2 Query support for Index function
> -------------------------------------
>
>                 Key: OPENJPA-855
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-855
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>    Affects Versions: 2.0.0
>            Reporter: Catalina Wei
>            Assignee: Catalina Wei
>             Fix For: 2.0.0
>
>


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