#996 Add findOne() and findOneOrEmpty()

This commit is contained in:
rob bygrave
2017-05-19 23:38:40 +12:00
parent c1bed9f578
commit db298a349e
20 changed files with 78 additions and 51 deletions
@@ -37,7 +37,7 @@ public class TestLazyLoadInCache extends BaseTestCase {
Customer cust1B = Ebean.find(Customer.class)
.setReadOnly(true)
.setId(id)
.findUnique();
.findOne();
assertTrue(cust1 != cust1B);