mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1214 - ENH: Add inPairs() expression - support L2 cache hits for complex natural key with findList() and in pairs expression
This commit is contained in:
1 parent
f0ddf6c7e6
commit
ef91c643ed
22 files changed
+765
-87
No files matched your search
@@ -10,6 +10,11 @@ public class MultiValueWrapper {
|
||||
private final Collection<?> values;
|
||||
private Class<?> type;
|
||||
|
||||
public MultiValueWrapper(Collection<?> values, Class<?> type) {
|
||||
this.values = values;
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public MultiValueWrapper(Collection<?> values) {
|
||||
this.values = values;
|
||||
this.type = values.iterator().next().getClass();
|
||||
|
||||
Reference in new issue
Block a user