update on an entity with a javax.validation.constraints.NotNull constraint on a ManyToMany relation causes an AssertionFailure if the relatated entity also contains a ManyToMany relation to a third entity and all relations have the fetchtype lazy.
Here is the given entity structure:
this pseudocode causes the error:
See the attached testcase for more details
hibernate 3.5.1-final and hibernate 3.5.5.final
on oracle 10g
In an effort to clean up, in bulk, tickets that are most likely out of date, we're transitioning all ORM 3 tickets to an "Awaiting Test Case" state. Please see http://in.relation.to/Bloggers/HibernateORMJIRAPoliciesAndCleanUpTactics for more information.
If this is still a legitimate bug in ORM 4, please provide either a test case that reproduces it or enough detail (entities, mappings, snippets, etc.) to show that it still fails on 4. If nothing is received within 3 months or so, we'll be automatically closing them.
I think this is still a legit issue. I am trying to have another look at it asap.