You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update CachedQueryResultsGenerateStatisticsTest to match ORM tests
Hibernate ORM statistics test don't test Criteria queries (which don't seem
to update statistics) and they also only test the statistics for query creation,
not query execution
Copy file name to clipboardExpand all lines: hibernate-reactive-core/src/test/java/org/hibernate/reactive/CachedQueryResultsGenerateStatisticsTest.java
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -6,19 +6,17 @@
6
6
packageorg.hibernate.reactive;
7
7
8
8
9
+
importio.smallrye.mutiny.Uni;
10
+
importio.vertx.ext.unit.TestContext;
9
11
importorg.hibernate.cfg.AvailableSettings;
10
12
importorg.hibernate.cfg.Configuration;
11
13
importorg.hibernate.cfg.Environment;
14
+
importorg.hibernate.reactive.mutiny.Mutiny;
12
15
importorg.hibernate.reactive.provider.Settings;
13
-
14
16
importorg.junit.Test;
15
17
16
-
importio.vertx.ext.unit.TestContext;
17
-
18
18
/**
19
19
* Checks the # of cache hits when the configuration property Settings.GENERATE_STATISTICS is set to TRUE
0 commit comments