* 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:
parent
650d7c4810
commit
43165e0bab
1 changed files with 0 additions and 2 deletions
|
@ -927,8 +927,6 @@ public final class DbMapping {
|
||||||
throws ClassNotFoundException, SQLException {
|
throws ClassNotFoundException, SQLException {
|
||||||
if (!isRelational()) {
|
if (!isRelational()) {
|
||||||
throw new SQLException("Can't get columns for non-relational data mapping " + this);
|
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)
|
// Use local variable cols to avoid synchronization (schema may be nulled elsewhere)
|
||||||
|
|
Loading…
Add table
Reference in a new issue