quick fix for base class name, should now also work for non-relational

mappings (checks for "hopobject" prototype name)
This commit is contained in:
hns 2001-07-25 16:46:00 +00:00
parent 8ab24c2d41
commit 45eabd9fca

View file

@ -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;
}