[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4809) Immutable entities added to a session have Status.MANAGED unless loaded by the Session
Gail Badner (JIRA)
noreply at atlassian.com
Fri Jan 15 21:01:29 EST 2010
Immutable entities added to a session have Status.MANAGED unless loaded by the Session
--------------------------------------------------------------------------------------
Key: HHH-4809
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4809
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.5.0-Beta-3
Reporter: Gail Badner
Assignee: Gail Badner
Fix For: 3.5.0-Beta-4
An immutable entity will only have Status.READ_ONLY if Hibernate loads the entity itself, e.g., Session.get(), Session.load(), s.merge(), Criteria/Query.list(), Criteria/Query.uniqueResult().
Detached and transient entities that are added to a session via Session.persist(), Session.save(), Session.saveOrUpdate() have Status.Managed.
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list