[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-4809) Immutable entities added to a session have Status.MANAGED unless loaded by the Session
Gail Badner (JIRA)
noreply at atlassian.com
Wed Jan 27 04:47:55 EST 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner updated HHH-4809:
-----------------------------
Fix Version/s: (was: 3.5.0-Beta-4)
3.5
> 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
>
>
> 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