protected void writeParamsEntry(StringBuilder sb, ExecutionInfo execInfo, List<QueryInfo> queryInfoList) {

        boolean isPrepared = execInfo.getStatementType() == StatementType.PREPARED;

        sb.append("Params:[");

        for (QueryInfo queryInfo : queryInfoList) {
            for (List<ParameterSetOperation> parameters : queryInfo.getParametersList()) {
                SortedMap<String, String> paramMap = getParametersToDisplay(parameters);

                // parameters per batch.
                //   for prepared: (val1,val2,...)
                //   for callable: (key1=val1,key2=val2,...)
                if (isPrepared) {
                    writeParamsForSinglePreparedEntry(sb, paramMap, execInfo, queryInfoList);
                } else {
                    writeParamsForSingleCallableEntry(sb, paramMap, execInfo, queryInfoList);
                }

            }
        }

        chompIfEndWith(sb, ',');
        sb.append("]");
    }
protected void writeParamsEntry ( StringBuilder sb , ExecutionInfo execInfo , List < QueryInfo > queryInfoList ) { boolean isPrepared = execInfo . getStatementType ( ) == StatementType . PREPARED ; sb . append ( "Params:[" ) ; for ( QueryInfo queryInfo : queryInfoList ) { for ( List < ParameterSetOperation > parameters : queryInfo . getParametersList ( ) ) { SortedMap < String , String > paramMap = getParametersToDisplay ( parameters ) ; if ( isPrepared ) { writeParamsForSinglePreparedEntry ( sb , paramMap , execInfo , queryInfoList ) ; } else { writeParamsForSingleCallableEntry ( sb , paramMap , execInfo , queryInfoList ) ; } } } chompIfEndWith ( sb , ',' ) ; sb . append ( "]" ) ; }
Write query parameters.

<p>default for prepared: Params:[(foo,100),(bar,101)],
<p>default for callable: Params:[(1=foo,key=100),(1=bar,key=101)],

@param sb            StringBuilder to write
@param execInfo      execution info
@param queryInfoList query info list
@since 1.3.3