[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-511) reattach object from same session
Alex Pires de Camargo (JIRA)
noreply at atlassian.com
Fri Oct 10 09:15:23 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-511?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=31373#action_31373 ]
Alex Pires de Camargo commented on HHH-511:
-------------------------------------------
This fix generated a problem on session.clear() performance, as posted on the forum:
http://forum.hibernate.org/viewtopic.php?t=990508
I've tested Rodrigo Castro patch with good results.
> reattach object from same session
> ---------------------------------
>
> Key: HHH-511
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-511
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Reporter: Gavin King
> Assignee: Steve Ebersole
> Priority: Minor
> Fix For: 3.2.4
>
> Attachments: reattach-same-session.patch, reattach-same-session.patch
>
>
> http://forum.hibernate.org/viewtopic.php?p=2231400#2231400
> There is a problem when you reattach a collection to the same session that it was previously attached to, after calling clear(). Hibernate checks the collections session reference, at reattach and concludes it is already attached.
--
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