mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1539 - FIX: Pairs must not be modified by query
Remove the (|| multiValueSupported) part
This commit is contained in:
1 parent
105f08cca1
commit
54a4fd75f1
1 file changed
+2
-2
@@ -48,8 +48,8 @@ class InExpression extends AbstractExpression {
|
||||
|
||||
@Override
|
||||
public boolean naturalKey(NaturalKeyQueryData<?> data) {
|
||||
// can't use naturalKey cache for NOT IN or if multi values are used
|
||||
if (not || multiValueSupported) {
|
||||
// can't use naturalKey cache for NOT IN
|
||||
if (not) {
|
||||
return false;
|
||||
}
|
||||
List<Object> copy = data.matchIn(propName, bindValues);
|
||||
|
||||
Reference in new issue
Block a user