public String toString(){
  StringBuffer sb;
  if (serverPrepareResult != null) {
    sb=new StringBuffer("sql : '" + serverPrepareResult.getSql() + "'");
    if (parameterCount > 0) {
      sb.append(", parameters : [");
      for (int i=0; i < parameterCount; i++) {
        ParameterHolder holder=currentParameterHolder.get(i);
        if (holder == null) {
          sb.append("null");
        }
 else {
          sb.append(holder.toString());
        }
        if (i != parameterCount - 1) {
          sb.append(",");
        }
      }
      sb.append("]");
    }
  }
 else {
    sb=new StringBuffer("sql : '" + sql + "'");
    sb.append(", parameters : [");
    for (int i=0; i < currentParameterHolder.size(); i++) {
      ParameterHolder holder=currentParameterHolder.get(i);
      if (holder == null) {
        sb.append("null");
      }
 else {
        sb.append(holder.toString());
      }
      if (i != currentParameterHolder.size() - 1) {
        sb.append(",");
      }
    }
    sb.append("]");
  }
  return sb.toString();
}

public String toString ( ) { StringBuffer sb ; if ( serverPrepareResult != null ) { sb = new StringBuffer ( "sql : '" + serverPrepareResult . getSql ( ) + "'" ) ; if ( parameterCount > 0 ) { sb . append ( ", parameters : [" ) ; for ( int i = 0 ; i < parameterCount ; i ++ ) { ParameterHolder holder = currentParameterHolder . get ( i ) ; if ( holder == null ) { sb . append ( "null" ) ; } else { sb . append ( holder . toString ( ) ) ; } if ( i != parameterCount - 1 ) { sb . append ( "," ) ; } } sb . append ( "]" ) ; } } else { sb = new StringBuffer ( "sql : '" + sql + "'" ) ; sb . append ( ", parameters : [" ) ; for ( int i = 0 ; i < currentParameterHolder . size ( ) ; i ++ ) { ParameterHolder holder = currentParameterHolder . get ( i ) ; if ( holder == null ) { sb . append ( "null" ) ; } else { sb . append ( holder . toString ( ) ) ; } if ( i != currentParameterHolder . size ( ) - 1 ) { sb . append ( "," ) ; } } sb . append ( "]" ) ; } return sb . toString ( ) ; }
return sql string value .
