• Post Reply Bookmark Topic Watch Topic
  • New Topic

Collection Object in FindBy*** Method of EJB

 
Malli Raman
Ranch Hand
Posts: 312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What will happen if i use java.util.List as return type for findBy*** method in EJB. Because List Objects supports null values and also it supports the duplicates .
Regards,
M.S.Raman.
 
Chuck Meduri
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I believe as long as it is a Collection or an Enumeration, you should be fine...
Chuck
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!