public static void printSql(String sql, Values values) {
		if (XmlConfig.needsShowSql()) {
			StringBuilder sb = new StringBuilder();
			sb.append("\n").append(sql).append("\n");
			if (values != null) {
				List<Object> valueList = values.getValueList();
				for (int i = 0; i < valueList.size(); i++) {
					Object value = valueList.get(i);
					sb.append(i + 1).append(".[");
					if (value instanceof NullValue) {
						sb.append("<NULL>");
					} else if (value instanceof String) {
						sb.append(value);
					} else if (value instanceof BigDecimal) {
						sb.append(value);
					} else if (value instanceof Timestamp) {
						sb.append(value);
					} else if (value instanceof char[]) {
						sb.append("<CLOB>");
					} else if (value instanceof byte[]) {
						sb.append("<BLOB>");
					}
					sb.append("]\n");
				}
			}
			System.out.println(sb.toString());
		}
	}