HHH-17306 Move static sql logging in `prepareLoaders()`

This commit is contained in:
Marco Belladelli 2023-10-11 13:00:47 +02:00 committed by Christian Beikov
parent bdcae0554f
commit ce550cfb86
1 changed files with 2 additions and 2 deletions

View File

@ -3391,6 +3391,8 @@ public abstract class AbstractEntityPersister
multiIdLoader = buildMultiIdLoader();
lazyLoadPlanByFetchGroup = getLazyLoadPlanByFetchGroup();
logStaticSQL();
}
private void doLateInit() {
@ -3417,8 +3419,6 @@ public abstract class AbstractEntityPersister
//select SQL
sqlVersionSelectString = generateSelectVersionString();
logStaticSQL();
}
private EntityTableMapping findTableMapping(String tableName) {