Skip to main content

[jpa-spec issues] [JIRA] Created: (JPA_SPEC-76) Allow specification for null handling in order-by expressions (JPQL and Criteria API)

  • From: "Oliver Gierke (JIRA)" < >
  • To:
  • Subject: [jpa-spec issues] [JIRA] Created: (JPA_SPEC-76) Allow specification for null handling in order-by expressions (JPQL and Criteria API)
  • Date: Mon, 17 Mar 2014 10:55:49 +0000 (UTC)
  • Auto-submitted: auto-generated

Allow specification for null handling in order-by expressions (JPQL and 
Criteria API)
-------------------------------------------------------------------------------------

                 Key: JPA_SPEC-76
                 URL: https://java.net/jira/browse/JPA_SPEC-76
             Project: jpa-spec
          Issue Type: Improvement
            Reporter: Oliver Gierke


§4.9 of the specification explictly states:

{quote}
SQL rules for the ordering of null values apply: that is, all null values 
must appear before all non-null values in the ordering or all null values 
must appear after all non-null values in the ordering, but it is not 
specified which.
{quote}

However, pretty much all of the important JPA providers support a {{nulls 
first}}/{{nulls last}} clause. So while it is already possible to define the 
strategy, it would be cool if one could reliably use it on top of JPA.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://java.net/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jpa-spec issues] [JIRA] Created: (JPA_SPEC-76) Allow specification for null handling in order-by expressions (JPQL and Criteria API)

Oliver Gierke (JIRA) 03/17/2014
 
 
Close
loading
Please Confirm
Close