* Backpedal on previous commit: Even fetch columns if the table is inherited, because the

column-property mapping may still be different. Fixes http://helma.org/bugs/show_bug.cgi?id=499
This commit is contained in:
hns 2007-02-21 09:34:22 +00:00
parent 650d7c4810
commit 43165e0bab

View file

@ -927,8 +927,6 @@ public final class DbMapping {
throws ClassNotFoundException, SQLException {
if (!isRelational()) {
throw new SQLException("Can't get columns for non-relational data mapping " + this);
} else if (inheritsStorage()) {
return parentMapping.getColumns();
}
// Use local variable cols to avoid synchronization (schema may be nulled elsewhere)