code: public static boolean isValidProcedureCall(String sql, Dialect dialect) {
  		if (sql == null) {
  			return false;
  		}
  		if (dialect instanceof OracleDialect) {
  			return sql.split("\\?").length == 2;
  		} else {
  			return true;
  		}
  	}
docs: See if the sql contains only one '?' character
  
  @param sql
  sql to execute
  @param dialect
  dialect
  @return true if the sql contains only one '?' character, false otherwise