Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:3.2.5
Here's the thing.
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role
It occurs on very rare occasions, and i cannot reproduce it, it just pops up on a rare occasion.
Basicly, in the same class im iterating over a collection of entities, based on some conditions i store some of these entities in a list and just after i do some datamanipulation on those entities (all entities are persisted) and it is this manipulation that fails, rarely, with LazyInitializationException.
I am just wondering if this is a known 'issue' with a know workaround! I suppose I could store the entities unique keys in the list instead of the entites themselves and look them up with a criteria instead, but thats not quite how its supposed to work i'm sure.