OPENJPA-1509. In-mem bulk update + enums.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@909669 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Patrick Linskey 2010-02-13 00:10:11 +00:00
parent 307d5e8a98
commit 23341c871c
2 changed files with 3 additions and 0 deletions

View File

@ -1163,6 +1163,7 @@ public class QueryImpl
case JavaTypes.LOCALE:
case JavaTypes.OBJECT:
case JavaTypes.OID:
case JavaTypes.ENUM:
sm.settingObjectField(into, i, sm.fetchObjectField(i), val,
set);
break;

View File

@ -348,6 +348,8 @@ bad-datastore-method: Method "{0}(StoreContext, ClassMetaData, boolean, Map, \
the in-memory method instead (a method with the same signature but with an \
Object argument) and want this query to execute in-memory, supply a \
Collection of candidates to filter.
only-update-primitives: Bulk update queries can only update basic field values \
(Strings, ints, enums, etc.)
only-update-constants: Bulk update queries when executed in memory \
may only update to constant values.
only-range-constants: Range values must be numeric constants. Illegal query: \