code: public String deParameterize(String sqlQuery) {
          String result = sqlQuery;
          for (String key:namedParams.keySet()) {
              Object value = namedParams.get(key);
              if (value instanceof String) {// This could be combined with last else(but mostly we encounter String)
                  result = result.replaceAll(String.format(":%s", key), String.format("%s", value));
              } else if (value instanceof BigDecimal)  {
                  result = result.replaceAll(String.format(":%s", key), String.format("%f", ((BigDecimal)value).doubleValue()));
              } else if (value instanceof Date)  {
                  result = result.replaceAll(String.format(":%s", key), currentJavaDateFormat.format(value)).replace("Z", "");
              } else if (value instanceof DateTime)  {
                  result = result.replaceAll(String.format(":%s", key), currentJodaDateFormat.print(((DateTime)value).getMillis())).replace("Z", "");
              } else {
                  result = result.replaceAll(String.format(":%s", key), value.toString());
              }
          }
          return result;
      }
docs: TODO: Make it more efficient.
  @param sqlQuery
  @return