code: public static String compile(String sql, final Object... param) {
  		for (final Object element : param) {
  			sql = sql.replaceFirst("\\?", element.toString());
  		}
  		return sql;
  	}
docs: Compile.
  
  @param sql   the sql
  @param param the param
  @return the string