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

View File

@ -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()