#1114 - Deprecate findUnique() - please migrate to findOne() - update tests

This commit is contained in:
rob bygrave
2017-09-08 22:48:46 +12:00
parent 2470486f20
commit 8c0232fdb8
67 changed files with 128 additions and 128 deletions
@@ -48,7 +48,7 @@ public class TestRefreshWithMany extends BaseTestCase {
Customer customer1 = Ebean.find(Customer.class)
.fetch("contacts")
.setId(customer.getId())
.findUnique();
.findOne();
int rcb1 = Ebean.createSqlUpdate("update o_customer set name = :name where id = :id")