Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how do i force a proxy to appear?

 
Elhanan Maayan
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi...
assuming i have an object a which child objects b, how do i load the A object a so that it's child objects will initially be CGLIBEnhanced?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Loading an associated object within an open session will automatically load the object. Otherwise, an option is to open a session and reload the object and ensure the associated object is loaded.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic