}
// remove columns from subclasstable where they are no longer in the
// class
try
{
TableManager tm = adapter.getPersist().getTableManager();
ObjectRepresentation objRes = toStack.getActualRepresentation();
Map<String, String> valueTypeMap = tm.getDatabaseColumns(objRes.getTableName(),
cw);
for (Entry<String, String> e : valueTypeMap.entrySet())
{
String colName = e.getKey();
if (!isSystemColumn(colName) && !objRes.hasProperty(colName))
{
tm.dropColumn(objRes.getTableName(), colName, cw);
}
}
}
catch (ClassNotFoundException ex)
{