* been bound
*/
public Object getParameterValue(String name){
try {
entityManager.verifyOpen();
if (! this.parameters.containsKey(new ParameterExpressionImpl(null, null, name))){
throw new IllegalArgumentException(ExceptionLocalization.buildMessage("NO_PARAMETER_WITH_NAME", new Object[]{name, this.databaseQuery}));
}
if (! this.parameterValues.containsKey(name)){ // must check for key. get() would return negative for value == null.
throw new IllegalStateException(ExceptionLocalization.buildMessage("NO_VALUE_BOUND", new Object[]{name}));
}