When new IllegalStateException( "An entity copy was already assigned to a different entity." ) is thrown in EventCache.put(), please provide details about the entity class/id for easier debugging.
I am facing the same problem. Started getting this error on a ManyToMany association after upgrading Hibernate to 4.1.6.Final. Is it going to be fixed soon?
If anyone have a workaround other than downgrading Hibernate, please do share.
I have the same problem with version 4.1.9 and I have to stick to at lease 4.1.6 since I need to use stable(???) multi-tenancy in Hibernate. No workaround or fix so far? Any help would be much appreciated.
As already mentioned, this ticket will solely add details to the thrown exceptions. If there are issues that cause the exception, please first discuss them in the forums. If there's an actual bug and a reproduceable test case, feel free to open new tickets.
Thank you to for the pull request! https://github.com/hibernate/hibernate-orm/pull/502
This is not updated in later versions. 4.2.x
, see my comment on