[
http://team.ops4j.org/browse/QI-370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17505#comment-17505
]
Niclas Hedhman commented on QI-370:
-----------------------------------
The current behavior is not unreasonable. Simply state; 'null' has no defined
story order. Perhaps that is not desirable, but possible.
My suggestion is that we check what SQL standard say and follow that.
> OrderByComparator in IterableQuerySource does not honor null values in sort
> order
> ---------------------------------------------------------------------------------
>
> Key: QI-370
> URL: http://team.ops4j.org/browse/QI-370
> Project: Qi4j
> Issue Type: Improvement
> Components: Core Runtime
> Affects Versions: 1.3, 2.0 - Reductionism
> Reporter: Arvid Huss
> Priority: Minor
>
> IterableQuerySource and its predecessor IterableQuery( 1.3 )
> Regardless of sort order (ASC,DESC) order by null values are always returned
> first in the resulting list.
> I was expecting them either to be first or last depending on ASC, DESC.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://team.ops4j.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev