mirror of https://github.com/apache/openjpa.git
changed version of maven-jar-plugin to 3.0.2 - This closes #8
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1797211 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f1f9a1af7
commit
e2a8d2c966
|
@ -1137,13 +1137,14 @@ public class JPQLExpressionBuilder
|
|||
return factory.divide(val1, val2);
|
||||
|
||||
case JJTBETWEEN: // x.field [NOT] BETWEEN 5 AND 10
|
||||
val1 = getValue(child(node, 0, 3));
|
||||
Value val_min = getValue(child(node, 0, 3));
|
||||
Value val_max = getValue(child(node, 0, 3));
|
||||
val2 = getValue(child(node, 1, 3));
|
||||
val3 = getValue(child(node, 2, 3));
|
||||
setImplicitTypes(val1, val2, null);
|
||||
setImplicitTypes(val1, val3, null);
|
||||
return evalNot(not, and(factory.greaterThanEqual(val1, val2),
|
||||
factory.lessThanEqual(val1, val3)));
|
||||
setImplicitTypes(val_min, val2, null);
|
||||
setImplicitTypes(val_max, val3, null);
|
||||
return evalNot(not, and(factory.greaterThanEqual(val_min, val2),
|
||||
factory.lessThanEqual(val_max, val3)));
|
||||
|
||||
case JJTIN: // x.field [NOT] IN ('a', 'b', 'c')
|
||||
// TYPE(x...) [NOT] IN (entityTypeLiteral1,...)
|
||||
|
|
Loading…
Reference in New Issue