[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-511) reattach object from same session

Nándor Előd Fekete (JIRA) noreply at atlassian.com
Wed Sep 27 12:36:27 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-511?page=comments#action_24649 ] 

Nándor Előd Fekete commented on HHH-511:
----------------------------------------

Danny: if you'd like to have this patch included in your application, but you don't want to supply a patched recompiled version of hibernate, you could simply include those two patched files this patch affects in your classpath before the hibernate jar, ant the classloader will use the patched version of the classes. Later, when the bug gets fixed in a future release of hibernate you can simply remove the patched classes and switch to the new hibernate jar.

> reattach object from same session
> ---------------------------------
>
>          Key: HHH-511
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-511
>      Project: Hibernate3
>         Type: Bug

>   Components: core
>     Reporter: Gavin King
>     Priority: Minor
>  Attachments: 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