mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1211 - ENH: Support L2 cache complex natural keys include findList() queries
This commit is contained in:
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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user