Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

collection mapping using set and retain order how to ?

 
srini carry
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


above is the code to map onetomany relation , I want to retain the order inside java.util.Set eaAuditPrograms so I used LinkedHashSet its still not retaining order when I display list of eaAuditPrograms in UI (web page ) the list order keeps changing upon refresh , please suggest me how I can retain the order and use a set
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic