And this should be getting the column name, too (though it doesn't
actually do anything yet except log a message).
This commit is contained in:
@@ -819,7 +819,7 @@ public class DepotMarshaller<T extends PersistentRecord>
|
|||||||
if (metaData.pkColumns.size() == _pkColumns.size()) {
|
if (metaData.pkColumns.size() == _pkColumns.size()) {
|
||||||
keyMatch = true;
|
keyMatch = true;
|
||||||
for (FieldMarshaller<?> column : _pkColumns) {
|
for (FieldMarshaller<?> column : _pkColumns) {
|
||||||
keyMatch &= metaData.pkColumns.contains(column.getField().getName());
|
keyMatch &= metaData.pkColumns.contains(column.getColumnName());
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
keyMatch = false;
|
keyMatch = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user