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:
Pinaki Poddar 2009-08-01 10:25:48 +00:00
parent 655ec577e9
commit 931496e6ea
1 changed files with 1 additions and 1 deletions

View File

@ -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