mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-12 22:41:35 +00:00
#2122 - Metrics for ElementCollection query not included in reporting (via MetaInfoManager)
This commit is contained in:
1 parent
ed2455f460
commit
365b7c4600
6 files changed
+60
-8
No files matched your search
+5
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user