mirror of https://github.com/apache/openjpa.git
correct ordering of message parameters with actual message
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@799824 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
655ec577e9
commit
931496e6ea
|
@ -346,7 +346,7 @@ public class SQLStoreQuery
|
||||||
for (Integer key : paramOrder) {
|
for (Integer key : paramOrder) {
|
||||||
if (!userParams.containsKey(key))
|
if (!userParams.containsKey(key))
|
||||||
throw new UserException(_loc.get("uparam-missing",
|
throw new UserException(_loc.get("uparam-missing",
|
||||||
sql, key, userParams));
|
key, sql, userParams));
|
||||||
result[idx++] = userParams.get(key);
|
result[idx++] = userParams.get(key);
|
||||||
}
|
}
|
||||||
// modify original JPA-style SQL to proper SQL
|
// modify original JPA-style SQL to proper SQL
|
||||||
|
|
Loading…
Reference in New Issue