mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - update tests to ensure query does not hit L2 cache
This commit is contained in:
@@ -82,6 +82,7 @@ public class TestQueryFindIterate extends BaseTestCase {
|
||||
.select("status, orderDate")
|
||||
.fetch("customer", "name")
|
||||
.where().gt("id",0).le("id",10)
|
||||
.setUseCache(false)
|
||||
.findIterate();
|
||||
|
||||
try {
|
||||
|
||||
@@ -40,7 +40,9 @@ public class TestWhereAnnotation extends BaseTestCase {
|
||||
|
||||
LoggedSqlCollector.start();
|
||||
|
||||
List<Customer> customers = Ebean.find(Customer.class).findList();
|
||||
List<Customer> customers = Ebean.find(Customer.class)
|
||||
.setUseCache(false)
|
||||
.findList();
|
||||
|
||||
List<Order> orders = customers.get(0).getOrders();
|
||||
orders.size();
|
||||
|
||||
Reference in New Issue
Block a user