protected void saveQueryParamValue(final int position, final Object obj) {
		final String strValue;
		if (obj instanceof String || obj instanceof Date) {
			strValue = "'" + obj + '\''; // if we have a String or Date, include '' in the saved value
		} else if (obj instanceof LocalDateTime || obj instanceof LocalDate || obj instanceof LocalTime) {
			strValue = "'" + Converter.get().toString(obj) + '\''; // time as string with '
		} else if (obj == null) {
			strValue = "<null>"; // convert null to the string null
		} else {
			strValue = Converter.get().toString(obj); // all other objects (includes all Numbers, arrays, etc)
		}

		// if we are setting a position larger than current size of parameterValues,
		// first make it larger
		if (parameterValues == null) {
			parameterValues = new ArrayList<>();
		}

		while (position >= parameterValues.size()) {
			parameterValues.add(null);
		}
		parameterValues.set(position, strValue);
	}
protected void saveQueryParamValue(final int position, final Object obj) {
		final String strValue;
		if (obj instanceof String || obj instanceof Date) {
			strValue = "'" + obj + '\''; 
		} else if (obj instanceof LocalDateTime || obj instanceof LocalDate || obj instanceof LocalTime) {
			strValue = "'" + Converter.get().toString(obj) + '\''; 
		} else if (obj == null) {
			strValue = "<null>"; 
		} else {
			strValue = Converter.get().toString(obj); 
		}

		
		
		if (parameterValues == null) {
			parameterValues = new ArrayList<>();
		}

		while (position >= parameterValues.size()) {
			parameterValues.add(null);
		}
		parameterValues.set(position, strValue);
	}
protected void saveQueryParamValue ( final int position , final Object obj ) { final String strValue ; if ( obj instanceof String || obj instanceof Date ) { strValue = "'" + obj + ' ' ; // if we have a String or Date, include '' in the saved value } else if ( obj instanceof LocalDateTime || obj instanceof LocalDate || obj instanceof LocalTime ) { strValue = "'" + Converter . get ( ) . toString ( obj ) + ' ' ; // time as string with ' } else if ( obj == null ) { strValue = "<null>" ; // convert null to the string null } else { strValue = Converter . get ( ) . toString ( obj ) ; // all other objects (includes all Numbers, arrays, etc) } // if we are setting a position larger than current size of parameterValues, // first make it larger if ( parameterValues == null ) { parameterValues = new ArrayList <> ( ) ; } while ( position >= parameterValues . size ( ) ) { parameterValues . add ( null ) ; } parameterValues . set ( position , strValue ) ; }
Saves the parameter value <code>obj</code> for the specified
<code>position</code> for use in logging output.

@param position position (starting at 1) of the parameter to save
@param obj      java.lang.Object the parameter value to save
Saves the parameter value <code > obj< / code > for the specified <code > position< / code > for use in logging output .