diff --git a/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java b/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java index e67fe4165..33b69ab30 100644 --- a/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java +++ b/openjpa-lib/src/main/java/org/apache/openjpa/lib/conf/ConfigurationImpl.java @@ -885,9 +885,11 @@ public class ConfigurationImpl ConfigurationImpl conf = (ConfigurationImpl) other; if (_vals.size() != conf.getValues().length) return false; - for(Value v : _vals) { - Value thatV = conf.getValue(v.getProperty()); - if (!v.equals(thatV)) { + for(Value v : _vals) { + String propName = v.getProperty(); + Value thisV = this.getValue(propName); + Value thatV = conf.getValue(propName); + if (!thisV.equals(thatV)) { return false; } }