Saturday, August 15, 2009

ORM warnings: fail-safe cleanup messages

You often endup seeing the following warnings in the logs:
01:03:00,001 WARN [LoadContexts] fail-safe cleanup (collections) :
org.hibernate.engine.loading.CollectionLoadContext@103583b


OR

00:04:40,918 WARN [LoadContexts] fail-safe cleanup (collections) : org.hibernate.engine.loading.CollectionLoadContext@12f6fe9
<rs=com.ibm.db2.jcc.c.j@5a6c69>
These messages are expected and can simply ignore these warnings. These message related to the ORM technology you are using in the application and shows that how it cleanup up after itself avoid memory leaks.

Fix: You can even avoid these messages being displayed in the log by Upgrading your Hibernate jars to 3.x.x.

No comments:

Post a Comment

È