| java.lang.Object org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate
Method Summary | |
public Object | execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback action) | public Object | execute(String sql, Map paramMap, PreparedStatementCallback action) | public JdbcOperations | getJdbcOperations() Expose the classic Spring JdbcTemplate to allow invocation of
less commonly used methods. | protected ParsedSql | getParsedSql(String sql) Obtain a parsed representation of the given SQL statement. | protected PreparedStatementCreator | getPreparedStatementCreator(String sql, SqlParameterSource paramSource) Build a PreparedStatementCreator based on the given SQL and named parameters. | public Object | query(String sql, SqlParameterSource paramSource, ResultSetExtractor rse) | public Object | query(String sql, Map paramMap, ResultSetExtractor rse) | public void | query(String sql, SqlParameterSource paramSource, RowCallbackHandler rch) | public void | query(String sql, Map paramMap, RowCallbackHandler rch) | public List | query(String sql, SqlParameterSource paramSource, RowMapper rowMapper) | public List | query(String sql, Map paramMap, RowMapper rowMapper) | public int | queryForInt(String sql, SqlParameterSource paramSource) | public int | queryForInt(String sql, Map paramMap) | public List | queryForList(String sql, SqlParameterSource paramSource, Class elementType) | public List | queryForList(String sql, Map paramMap, Class elementType) | public List | queryForList(String sql, SqlParameterSource paramSource) | public List | queryForList(String sql, Map paramMap) | public long | queryForLong(String sql, SqlParameterSource paramSource) | public long | queryForLong(String sql, Map paramMap) | public Map | queryForMap(String sql, SqlParameterSource paramSource) | public Map | queryForMap(String sql, Map paramMap) | public Object | queryForObject(String sql, SqlParameterSource paramSource, RowMapper rowMapper) | public Object | queryForObject(String sql, Map paramMap, RowMapper rowMapper) | public Object | queryForObject(String sql, SqlParameterSource paramSource, Class requiredType) | public Object | queryForObject(String sql, Map paramMap, Class requiredType) | public SqlRowSet | queryForRowSet(String sql, SqlParameterSource paramSource) | public SqlRowSet | queryForRowSet(String sql, Map paramMap) | public int | update(String sql, SqlParameterSource paramSource) | public int | update(String sql, Map paramMap) | public int | update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder) | public int | update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames) |
getJdbcOperations | public JdbcOperations getJdbcOperations()(Code) | | Expose the classic Spring JdbcTemplate to allow invocation of
less commonly used methods.
|
getParsedSql | protected ParsedSql getParsedSql(String sql)(Code) | | Obtain a parsed representation of the given SQL statement.
Parameters: sql - the original SQL a representation of the parsed SQL statement |
getPreparedStatementCreator | protected PreparedStatementCreator getPreparedStatementCreator(String sql, SqlParameterSource paramSource)(Code) | | Build a PreparedStatementCreator based on the given SQL and named parameters.
Note: Not used for the update variant with generated key handling.
Parameters: sql - SQL to execute Parameters: paramSource - container of arguments to bind the corresponding PreparedStatementCreator |
|
|