mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 00:24:57 +00:00
Removed useless call to SQLQueryParser#process() from NativeQueryImpl
This commit is contained in:
parent
0831823b27
commit
ba5f77210a
@ -293,13 +293,12 @@ private ParameterInterpretation resolveParameterInterpretation(
|
||||
sqlString,
|
||||
s -> {
|
||||
final ParameterRecognizerImpl parameterRecognizer = new ParameterRecognizerImpl( session.getFactory() );
|
||||
final String sql = new SQLQueryParser( sqlString, null, session.getFactory() ).process();
|
||||
|
||||
session.getFactory().getServiceRegistry()
|
||||
.getService( NativeQueryInterpreter.class )
|
||||
.recognizeParameters( sql, parameterRecognizer );
|
||||
.recognizeParameters( sqlString, parameterRecognizer );
|
||||
|
||||
return new ParameterInterpretationImpl( sql, parameterRecognizer );
|
||||
return new ParameterInterpretationImpl( sqlString, parameterRecognizer );
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user