I'm using hibernate 3.3.2.
I've got a very simple HQL that results in the following query being executed by Hibernate:
Code:
select
undimdefim0_.CODE as CODE20_
from
TAX_UD_DEF undimdefim0_
order by
undimdefim0_.CODE asc
However the results are returned in the wrong order, even though I've got the order by:
Code:
Afzender
Categorie
IscedStudiegebied
1Xyz
The same query executed in Oracle SQL Developer does return the rows in the right order:
Code:
1Xyz
Afzender
Categorie
IscedStudiegebied
Why is this happening ? Why is the sort order different although the exact same query is executed ?
Am I doeing something wrong ?
Any advice would be welcome.
Thanks,
EDH