Ok, I found that I can at least control the detail records by using the JPA
annotation @OrderBy on the many to one relationship as such:
| @OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY,
mappedBy="section")
| @OrderBy("dueDate")
| public Set<Deliverable> getDeliverables(){
| return this.deliverables;
| }
|
Does anyone have any idea how to sort the list dynamically from that point
forward?
MG
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099381#4099381
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099381
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user