From 45eabd9fca7dc6483249b66c699283328e66f0de Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 25 Jul 2001 16:46:00 +0000 Subject: [PATCH] quick fix for base class name, should now also work for non-relational mappings (checks for "hopobject" prototype name) --- src/helma/objectmodel/DbMapping.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helma/objectmodel/DbMapping.java b/src/helma/objectmodel/DbMapping.java index d2893f5a..ddea2823 100644 --- a/src/helma/objectmodel/DbMapping.java +++ b/src/helma/objectmodel/DbMapping.java @@ -505,7 +505,7 @@ public class DbMapping implements Updatable { } public String getStorageTypeName () { - if (table == null && parentMapping != null) + if (table == null && parentMapping != null && !"hopobject".equalsIgnoreCase (extendsProto)) return parentMapping.getStorageTypeName (); return typename; }