Fixed missing bound parameters not throwing QueryException

This commit is contained in:
Chris Cranford 2016-04-24 00:18:58 -05:00 committed by Steve Ebersole
parent 993e308e96
commit b4b158aaff
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ public class QueryParameterBindingsImpl implements QueryParameterBindings {
public void verifyParametersBound(boolean reserveFirstParameter) {
for ( Map.Entry<QueryParameter, QueryParameterBinding> bindEntry : parameterBindingMap.entrySet() ) {
if ( bindEntry.getValue() == null ) {
if ( bindEntry.getValue().getBindValue() == null ) {
if ( bindEntry.getKey().getName() == null ) {
throw new QueryException( "Named parameter [" + bindEntry.getKey().getName() + "] not set" );
}