Hi again.
If I convert from hibernate objects to actionform objects, maybe with BeanUtils.copyProperties(), Set objects are translated from hibernate to actionForms but they are still conected to Hibernate. If I, for example, set log to debug with Struts (which means that struts sends a message to logger with the contents of the ActionStruts) then hibernate starts to make queries. I mean, I dont ask for those objects because I dont want to read them (this is the reason I make the Set lazy). For that reason I'm asking if is there a way to separate objects from hibernate from objects of the view side to make separation between layers without making hibernate to call all lazy objects.
Any idea? Thanks a lot
|