HHH-8684 - Named output parameters don't work for stored procedure call

This commit is contained in:
Steve Ebersole 2013-11-18 15:49:55 -06:00
parent 67d8a53887
commit 162e1659c3
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ public class ProcedureCallImpl extends AbstractBasicQueryContractImpl implements
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()