I have not yet applied that change we were talking about last week, so
that's why you're seeing the same thing (will get to it today).

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wouter
Zoons
Sent: Monday, December 13, 2004 8:54 AM
To: [EMAIL PROTECTED]
Subject: [Andromda-devel] lazy loading

hi Chad,

you told me you applied an update for the hibernate lazy loading feature,
I don't really know exactly what you did so naively I started coding as I
would with the hibernate cartridge

I loaded an entity in one of my services and tried to call a lazy loading
relationship (which has not yet been loaded at this point of course) and I
got this exception:

Failed to lazily initialize a collection - no session or session was
closed (java.lang.Exception)

I understand what it means, but my question is, how should I go about ? do
I need to 'prefetch' everything in the entity's transform() ? because if
that's the case wouldn't it be equivalent to setting the relationship to
'eager loading' ?

-- Wouter



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to