Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how do i force a proxy to appear?  RSS feed

 
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
Boost this thread!