permaculture playing cards*
The moose likes Object Relational Mapping and the fly likes how do i force a proxy to appear? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "how do i force a proxy to appear?" Watch "how do i force a proxy to appear?" New topic
Author

how do i force a proxy to appear?

Elhanan Maayan
Ranch Hand

Joined: May 04, 2009
Posts: 113
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

Joined: Aug 26, 2006
Posts: 4968
    
    1

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how do i force a proxy to appear?