[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2936) Unclear warning in the logs from LoadContexts.cleanup: fail-safe cleanup (collections)

Gail Badner (JIRA) noreply at atlassian.com
Thu Nov 8 02:02:29 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28735 ] 

Gail Badner commented on HHH-2936:
----------------------------------

This warning is due to a hibernate bug.

The fix for HHH-2631 attempted to remove resultsets when no longer needed.  One case that was missed is when a CollectionLoadContext is created for an empty ResultSet, but is not registered with LoadContexts (HHH-2795), which results in the resultset being removed from LoadContexts by the fail-safe cleanup and the warning. Empty resultsets are closed when no longer needed, but are not GC'ed until removed in the fail-safe cleanup

This should not cause problems unless there are a lot of empty resultsets created in a session.

> Unclear warning in the logs from LoadContexts.cleanup: fail-safe cleanup (collections)
> --------------------------------------------------------------------------------------
>
>                 Key: HHH-2936
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2936
>             Project: Hibernate3
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.5
>         Environment: MySQL 5.0
>            Reporter: Anders Wallgren
>
> We're seeing warning in our logs from this piece of code, but it's unclear from the warning message whether this indicates a problem in my code or in hibernate itself.
> The error message should be clarified.

-- 
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