I am not able to get the sorted table from the data base,where as the hbm.xml changes are reflecting only to print the console hibernate query but not resulting anything in UI
What I have tried:
headerDTO---->
<pre lang="HTML">
<bag cascade="all-delete-orphan" inverse="true" lazy="false"
name="decisionInfoDTOs" order-by = "ID">
<key>
<column name="GSD_ID" />
</key>
<one-to-many class="DecisionInfoDTO" />
</bag>
I need to get sorted table according to "ID" in the above DTO,its not working
but the hibernate query in console is printing fine
The Hibernate query--->
where decisionin0_.GSD_ID=? order by decisionin0_.ID
where it is wrong?how to solve this?
is this problem with UI or query
and this is the child table (DecisionInfoDTO)all the data is fetching from parent table,and i am not able to sort t he child table through this.
Kindly help i am new to this
Thank you