HHH-15269 Update NativeQuery unable to use h-schema placeholder, just emits placeholder contents into SQL

This commit is contained in:
Andrea Boriero 2022-05-13 14:56:00 +02:00 committed by Andrea Boriero
parent bd27a70685
commit 22074e3dcb
1 changed files with 3 additions and 1 deletions

View File

@ -67,8 +67,10 @@ public class NativeNonSelectQueryPlanImpl implements NonSelectQueryPlan {
);
}
final SQLQueryParser parser = new SQLQueryParser( sql, null, session.getSessionFactory() );
final JdbcMutation jdbcMutation = new NativeJdbcMutation(
sql,
parser.process(),
jdbcParameterBinders,
affectedTableNames
);