mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-19 23:02:24 +00:00
#804 - Remove API - findMap(property, type) ... migrate to query.setMapKey()
This commit is contained in:
1 parent
81de83a6e7
commit
876476fdc1
7 files changed
+1
-37
No files matched your search
@@ -1148,12 +1148,6 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public <K> Map<K, T> findMap(String keyProperty, Class<K> keyType) {
|
||||
setMapKey(keyProperty);
|
||||
return (Map<K, T>) findMap();
|
||||
}
|
||||
|
||||
@Override
|
||||
public <A> List<A> findSingleAttributeList() {
|
||||
return (List<A>)server.findSingleAttributeList(this, null);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user