• Post Reply Bookmark Topic Watch Topic
  • New Topic

java annotation & lazy loading

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In java annotation, how could I write a load query for a List, it will have lazy loading, if loading, it will use a query, something like



what is correct syntax ? or you have a cleaner solution ?

Thanks.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!