mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#803 - Fix generics on findMap() to ... <K> Map<K, T> findMap();
This commit is contained in:
@@ -22,7 +22,7 @@ public class TestLazyLoadInCache extends BaseTestCase {
|
||||
|
||||
ResetBasicData.reset();
|
||||
|
||||
Map<?, Customer> map = Ebean.find(Customer.class)
|
||||
Map<Integer, Customer> map = Ebean.find(Customer.class)
|
||||
.select("id, name")
|
||||
.setLoadBeanCache(true)
|
||||
.setReadOnly(true)
|
||||
|
||||
@@ -17,7 +17,7 @@ public class TestLoadBeanCache extends BaseTestCase {
|
||||
|
||||
ResetBasicData.reset();
|
||||
|
||||
Map<?, Country> map = Ebean.find(Country.class)
|
||||
Map<String, Country> map = Ebean.find(Country.class)
|
||||
.setLoadBeanCache(true)
|
||||
.setUseQueryCache(true)
|
||||
.setReadOnly(true)
|
||||
|
||||
Reference in New Issue
Block a user