[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3662?page=c...
]
Daniela Akagui commented on HHH-3662:
-------------------------------------
Now, I attached the ReadOnlyHibernateTest.zip that works. Sorry.
Gail Badner , could you please delete the wrong ReadOnlyHibernateTest.zip?
Thanks
Merging read-only entities causes AssertionError("Merged entity
does not have status set to MANAGED...")
--------------------------------------------------------------------------------------------------------
Key: HHH-3662
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3662
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.3.1
Environment: Windows XP
Reporter: jpk
Attachments: DUMP_HIBERNATE_20090206.dmp, ReadOnlyHibernateTest.zip,
ReadOnlyHibernateTest.zip
What worked for me in 3.2.6 now doesn't: merging read-only entities. The following
error now occurs when attempting to merge an entity:
org.hibernate.AssertionFailure: Merged entity does not have status set to MANAGED;
EntityEntry[com.tll.model.impl.AccountHistory#71794688](READ_ONLY) status=READ_ONLY
Note this entity class of mine has the @Immutable annotation and removing it prevents
this AssertionError from occurring.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira