UPDATE: Some improvements with Map iterations (https://issues.apache.org/jira/browse/OFBIZ-4415) A patch from Dimitri Unruh which improves some Map Iterations.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1170525 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -393,8 +393,7 @@ public class DatabaseUtil {
|
||||
}
|
||||
|
||||
// -list all fields that do not have a corresponding column
|
||||
for (String colName: fieldColNames.keySet()) {
|
||||
ModelField field = fieldColNames.get(colName);
|
||||
for (ModelField field : fieldColNames.values()) {
|
||||
String message = "Field [" + field.getName() + "] of entity [" + entity.getEntityName() + "] is missing its corresponding column [" + field.getColName() + "]" + (field.getIsPk() ? " (and it is a PRIMARY KEY FIELD)" : "");
|
||||
|
||||
Debug.logWarning(message, module);
|
||||
|
||||
Reference in New Issue
Block a user