int[] | NamedParameterJdbcOperations.batchUpdate(String sql, SqlParameterSource[] batchArgs) | Execute a batch using the supplied SQL statement with the batch of supplied arguments. |
---|
int[] | NamedParameterJdbcTemplate.batchUpdate(String sql, SqlParameterSource[] batchArgs) | |
---|
static List<SqlParameter> | NamedParameterUtils.buildSqlParameterList(ParsedSql parsedSql, SqlParameterSource paramSource) | Convert parameter declarations from an SqlParameterSource to a corresponding List of SqlParameters. |
---|
static int[] | NamedParameterUtils.buildSqlTypeArray(ParsedSql parsedSql, SqlParameterSource paramSource) | Convert parameter types from an SqlParameterSource into a corresponding int array. |
---|
static Object[] | NamedParameterUtils.buildValueArray(ParsedSql parsedSql, SqlParameterSource paramSource, List<SqlParameter> declaredParams) | Convert a Map of named parameter values to a corresponding array. |
---|
<T> T | NamedParameterJdbcOperations.execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action) | Execute a JDBC data access operation, implemented as callback action working on a JDBC PreparedStatement. |
---|
<T> T | NamedParameterJdbcTemplate.execute(String sql, SqlParameterSource paramSource, PreparedStatementCallback<T> action) | |
---|
static int[] | NamedParameterBatchUpdateUtils.executeBatchUpdateWithNamedParameters(ParsedSql parsedSql, SqlParameterSource[] batchArgs, JdbcOperations jdbcOperations) | 已过时。 |
---|
static Map<String,String> | SqlParameterSourceUtils.extractCaseInsensitiveParameterNames(SqlParameterSource parameterSource) | Create a Map of case insensitive parameter names together with the original name. |
---|
protected PreparedStatementCreator | NamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource) | |
---|
protected PreparedStatementCreator | NamedParameterJdbcTemplate.getPreparedStatementCreator(String sql, SqlParameterSource paramSource, Consumer<PreparedStatementCreatorFactory> customizer) | |
---|
protected PreparedStatementCreatorFactory | NamedParameterJdbcTemplate.getPreparedStatementCreatorFactory(ParsedSql parsedSql, SqlParameterSource paramSource) | |
---|
static Object | SqlParameterSourceUtils.getTypedValue(SqlParameterSource source, String parameterName) | Create a wrapped value if parameter has type information, plain object if not. |
---|
<T> T | NamedParameterJdbcOperations.query(String sql, SqlParameterSource paramSource, ResultSetExtractor<T> rse) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet with a ResultSetExtractor. |
---|
void | NamedParameterJdbcOperations.query(String sql, SqlParameterSource paramSource, RowCallbackHandler rch) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, reading the ResultSet on a per-row basis with a RowCallbackHandler. |
---|
<T> List<T> | NamedParameterJdbcOperations.query(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping each row to a Java object via a RowMapper. |
---|
<T> T | NamedParameterJdbcTemplate.query(String sql, SqlParameterSource paramSource, ResultSetExtractor<T> rse) | |
---|
void | NamedParameterJdbcTemplate.query(String sql, SqlParameterSource paramSource, RowCallbackHandler rch) | |
---|
<T> List<T> | NamedParameterJdbcTemplate.query(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) | |
---|
List<Map<String,Object>> | NamedParameterJdbcOperations.queryForList(String sql, SqlParameterSource paramSource) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list. |
---|
<T> List<T> | NamedParameterJdbcOperations.queryForList(String sql, SqlParameterSource paramSource, Class<T> elementType) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result list. |
---|
List<Map<String,Object>> | NamedParameterJdbcTemplate.queryForList(String sql, SqlParameterSource paramSource) | |
---|
<T> List<T> | NamedParameterJdbcTemplate.queryForList(String sql, SqlParameterSource paramSource, Class<T> elementType) | |
---|
Map<String,Object> | NamedParameterJdbcOperations.queryForMap(String sql, SqlParameterSource paramSource) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result Map. |
---|
Map<String,Object> | NamedParameterJdbcTemplate.queryForMap(String sql, SqlParameterSource paramSource) | |
---|
<T> T | NamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, Class<T> requiredType) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting a result object. |
---|
<T> T | NamedParameterJdbcOperations.queryForObject(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, mapping a single result row to a Java object via a RowMapper. |
---|
<T> T | NamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, Class<T> requiredType) | |
---|
<T> T | NamedParameterJdbcTemplate.queryForObject(String sql, SqlParameterSource paramSource, RowMapper<T> rowMapper) | |
---|
SqlRowSet | NamedParameterJdbcOperations.queryForRowSet(String sql, SqlParameterSource paramSource) | Query given SQL to create a prepared statement from SQL and a list of arguments to bind to the query, expecting an SqlRowSet. |
---|
SqlRowSet | NamedParameterJdbcTemplate.queryForRowSet(String sql, SqlParameterSource paramSource) | |
---|
static String | NamedParameterUtils.substituteNamedParameters(String sql, SqlParameterSource paramSource) | Parse the SQL statement and locate any placeholders or named parameters. |
---|
static String | NamedParameterUtils.substituteNamedParameters(ParsedSql parsedSql, SqlParameterSource paramSource) | Parse the SQL statement and locate any placeholders or named parameters. |
---|
int | NamedParameterJdbcOperations.update(String sql, SqlParameterSource paramSource) | Issue an update via a prepared statement, binding the given arguments. |
---|
int | NamedParameterJdbcOperations.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder) | Issue an update via a prepared statement, binding the given arguments, returning generated keys. |
---|
int | NamedParameterJdbcOperations.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames) | Issue an update via a prepared statement, binding the given arguments, returning generated keys. |
---|
int | NamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource) | |
---|
int | NamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder) | |
---|
int | NamedParameterJdbcTemplate.update(String sql, SqlParameterSource paramSource, KeyHolder generatedKeyHolder, String[] keyColumnNames) | |
---|