Order column is not taken in count when retreiving a list
---------------------------------------------------------
Key: HHH-1799
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1799
Project: Hibernate3
Type: Bug
Components: query-hql
Versions: 3.1.3
Environment: jonas 4.1.4, jre 1.4.2_08, hibernate 3.1.3
Reporter: Brice Laurencin
Priority: Minor
Attachments: mapping.zip
see the mapping files.
Using that HQL query :
select tDesc.taches
from TraitementDesc tDesc
where tDesc.application.nom = :app
and tDesc.typeFlux.label = :tFlux
and tDesc.typeTraitement.label = :tTrtmnt
The list returned is not ordered with the list-index column, as I expected.
I removed the select clause in the query, and when I get the taches back, it works like a charm. But still, I wonder why the first query doesn't work.
Brice.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|