mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 09:05:21 +00:00
HHH-8684 - Named output parameters don't work for stored procedure call
This commit is contained in:
parent
67d8a53887
commit
162e1659c3
@ -306,7 +306,7 @@ private void prepareForNamedParameters() {
|
||||
if ( parameterStrategy == ParameterStrategy.POSITIONAL ) {
|
||||
throw new QueryException( "Cannot mix named and positional parameters" );
|
||||
}
|
||||
if ( parameterStrategy == null ) {
|
||||
if ( parameterStrategy == ParameterStrategy.UNKNOWN ) {
|
||||
// protect to only do this check once
|
||||
final ExtractedDatabaseMetaData databaseMetaData = getSession().getTransactionCoordinator()
|
||||
.getJdbcCoordinator()
|
||||
|
Loading…
x
Reference in New Issue
Block a user