• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is it safe to use LinkedHashSet for collections in entity

 
srini carry
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am wondering is there any problem using LinkedHashSet for any collection mapping in an entity , the reason I am asking is all the examples I saw uses HashSet and never saw LinkedHashSet , I want to retain order and no duplicates .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic