Il giorno 08/giu/04, alle 22:34, Nicolas Bielza ha scritto:
Thanks,
Unfortunately, this won't work for me as I'm not running cocoon in a servlet container.
Then you could explicitly tell hibernate to fetch the child collections, possibly using the size() method:
Parent parent = session.get(Parent.class, id); parent.getChildren().size();
Ugo
-- Ugo Cei - http://beblogging.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
