[hibernate-dev] The HHH-9764 issue

Vlad Mihalcea mihalcea.vlad at gmail.com
Mon Dec 7 03:18:31 EST 2015


Hi,

Someone on Twitter pointed out this issue:
https://hibernate.atlassian.net/browse/HHH-9764
I managed to add a test case using the Hibernate ORM Test Templates and the
issue is replicated.

The question is whether we should run the version check when loading
entities from the database. This issue is caused by initializing a
collection that contains a previously loaded entity which has changed in
between.

I also think we shouldn't raise the exception in this case because the
client might not modify the data anyway.

Vlad


More information about the hibernate-dev mailing list