Make sure the record in question is not computed.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2183 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2007-08-15 01:16:02 +00:00
parent 83acd3d195
commit 5b5ffd38ea
@@ -222,12 +222,12 @@ public class PersistenceContext
DepotMarshaller<T> marshaller = getRawMarshaller(type);
try {
if (!marshaller.isInitialized()) {
if (_warnOnLazyInit) {
log.warning("Record being initialized lazily [type=" + type.getName() + "].");
}
// initialize the marshaller which may create or migrate the table for its
// underlying persistent object
marshaller.init(this);
if (marshaller.getTableName() != null && _warnOnLazyInit) {
log.warning("Record initialized lazily [type=" + type.getName() + "].");
}
}
} catch (PersistenceException pe) {
throw (PersistenceException)new PersistenceException(