#2122 - Metrics for ElementCollection query not included in reporting (via MetaInfoManager)

This commit is contained in:
rob bygrave committed 2020-12-04 20:41:40 +13:00
1 parent ed2455f460
commit 365b7c4600
6 files changed
+60 -8

No files matched your search

@@ -30,7 +30,11 @@ public class TestElementCollectionBasic extends BaseTestCase {
assertThat(eventLog()).containsOnly("preInsert", "postInsert");
assertThat(sql).hasSize(4);
final EcPerson found = Ebean.find(EcPerson.class, person.getId());
final EcPerson found = Ebean.find(EcPerson.class)
.setId(person.getId())
//.setLabel("findById")
.findOne();
found.getPhoneNumbers().size();
sql = LoggedSqlCollector.current();