问题 I usually use the lobHandler + JdbcTemplate + PreparedStatementSetter triplet to insert my Clob into the database, as I saw on http://www.java2s.com/Code/Java/Spring/InsertClobData.htm My question is how to do this with a NamedParameterJdbcTemplate? It has no methods accepting the mysterious PreparedStatementSetter interface as a parameter. 回答1: This works without using the PreparedStatementCallback and lobHandler, at least when inserting a string. NamedParameterJdbcTemplate template; //= new