HHH-16429 WF SessionFactoryTestCase test fails

This commit is contained in:
Andrea Boriero 2023-04-03 21:49:48 +02:00 committed by Andrea Boriero
parent 543226087f
commit 5902d0b4db
1 changed files with 1 additions and 1 deletions

View File

@ -850,7 +850,7 @@ public abstract class AbstractEntityInitializer extends AbstractFetchParentAcces
);
}
assert concreteDescriptor.getIdentifier( entityInstance, session ) != null;
assert concreteDescriptor.getIdentifier( toInitialize, session ) != null;
final StatisticsImplementor statistics = session.getFactory().getStatistics();
if ( statistics.isStatisticsEnabled() ) {