Throw an exception if the user tries to perform an bulk update with a parameter other than a primitive.

git-svn-id: https://svn.apache.org/repos/asf/incubator/openjpa/trunk@499601 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marc Prud'hommeaux 2007-01-24 22:48:23 +00:00
parent 6e079939b5
commit 2c5377f687
1 changed files with 1 additions and 1 deletions

View File

@ -1070,7 +1070,7 @@ public class QueryImpl
} else if (value instanceof Constant) {
val = ((Constant) value).getValue(params);
} else {
val = null;
throw new UserException(_loc.get("only-update-primitives"));
}
OpenJPAStateManager sm = _broker.getStateManager(ob);