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.
Description
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.
Description Seeing these in the logs - need to figure out what's going on.
2007-11-06T14:59:32.056 | WARN | Api-2 | import#chronic3.export.gz | LoadContexts | fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@1dc9666<rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@1be70e1> Show »
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.
Gail Badner added a comment - 08/Nov/07 01:02 AM 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.
Description Seeing these in the logs - need to figure out what's going on.
2007-11-06T14:59:32.056 | WARN | Api-2 | import#chronic3.export.gz | LoadContexts | fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@1dc9666<rs=com.mchange.v2.c3p0.impl.NewProxyResultSet@1be70e1> Show »
{code}