Hello guys,
In our system here, which has several entities and relationships, everything was running fine (unit tests, etc.). We are using the following hibernate versions:
Hibernate Core 3.2.0.cr4
Hibernate Annotations 3.2.0.cr2
Hibernate EntityManager 3.2.0.cr2
We are used annotations for everything, including validation.
We then tried to use Hibernate @Version annotation to control concurrency. Everything was working fine, and right after i insert this annotation in the proper field, many of my unit tests start accusing this error, in unused collections:
org.hibernate.AssertionFailure: collection [...] was not processed by flush()
We are not using any custom listeners. On the internet, i checked that custom listeners may cause this trouble, but in our case we only need to put versioning for it to happen.
Any ideas?
Thanks a lot,
Chicoscience
|