Let's log a stack trace on lazy initialization so that we can see who the

culprit is.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@2411 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2008-09-10 18:01:24 +00:00
parent 845f1f47b6
commit f4ff354621
@@ -227,7 +227,8 @@ public class PersistenceContext
// underlying persistent object
marshaller.init(this);
if (marshaller.getTableName() != null && _warnOnLazyInit) {
log.warning("Record initialized lazily [type=" + type.getName() + "].");
log.warning("Record initialized lazily", "type", type.getName(),
new Exception());
}
}
} catch (DatabaseException pe) {