I have an entity that contains a collection (lazy load).
Is it possible to update this entity without loading the collection?
When I try I get this error message :
[AssertionFailure] - an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: collection [...] was not processed by flush()
I do not want to load this collection just to update one field in my entity...
As far as I know, you cannot perform operations without loading the collection. Even if you don't explicitly mention it, Hibernate passes the default value (which I think is eager loading).