• 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 .
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!