#1211 - ENH: Support L2 cache complex natural keys include findList() queries

This commit is contained in:
Rob Bygrave committed 2017-11-18 22:20:42 +13:00
1 parent c5a11aa5a8
commit d5555ed9a9
44 files changed
+1427 -152

No files matched your search

@@ -229,9 +229,9 @@ public class Binder {
/**
* Return the SQL in clause taking into account Multi-value support.
*/
public String getInExpression(boolean not, Object[] bindValues) {
ScalarType<?> type = getScalarType(bindValues[0].getClass());
return multiValueBind.getInExpression(not, type, bindValues.length);
public String getInExpression(boolean not, List<Object> bindValues) {
ScalarType<?> type = getScalarType(bindValues.get(0).getClass());
return multiValueBind.getInExpression(not, type, bindValues.size());
}
/**