问题 I am trying to invoke a stored procedure which has default (optional) arguments without passing them and it is not working. Essentially the same problem as described here. My code: SqlParameterSource in = new MapSqlParameterSource() .addValue("ownname", "USER") .addValue("tabname", cachedTableName) .addValue("estimate_percent", 20) .addValue("method_opt", "FOR ALL COLUMNS SIZE 1") .addValue("degree", 0) .addValue("granularity", "AUTO") .addValue("cascade", Boolean.TRUE) .addValue("no