mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-09 12:44:49 +00:00
HHH-7725 - fixing failing test that not clean up statistic before using it
This commit is contained in:
parent
a0967702e4
commit
d93b2bf9ab
@ -242,6 +242,7 @@ public void testSQLQueryWithManyToOne() {
|
||||
tx = s.beginTransaction();
|
||||
Statistics stats = sessionFactory().getStatistics();
|
||||
stats.setStatisticsEnabled( true );
|
||||
stats.clear();
|
||||
Query q = s.getNamedQuery( "night&areaCached" );
|
||||
q.setCacheable( true );
|
||||
List result = q.list();
|
||||
|
Loading…
x
Reference in New Issue
Block a user