• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb fetchtype

 
yang tao
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys


can you tell me the difference between fetchtype.eager and fetchtype.lazy

thank you
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35719
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yang,
Eager gets connected data up front. Lazy gets it when it asked for.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!