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
parent 0af0cd7be8
commit 22073e125a
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
);