public interface JdbcOperations
SqlTemplate.Map<String,Object> queryForMap(String sql) throws DataAccessException
<T> T queryForObject(String sql, RowExtractor<T> rowMapper) throws DataAccessException
<T> T queryForObject(String sql, Object[] args, RowExtractor<T> rowMapper) throws DataAccessException
<T> T queryForObject(String sql, Object[] args, Class<T> requiredType) throws DataAccessException
List<Map<String,Object>> queryForList(String sql, Object... args) throws DataAccessException
<T> List<T> queryForList(String sql, Class<T> elementType, Object... args) throws DataAccessException
<T> T queryForEntry(Class<T> entryType, String sql, Object... args) throws DataAccessException
<T> List<T> queryForEntries(Class<T> entryType, String sql, Object... args) throws DataAccessException
SqlRowSet queryForRowSet(String sql, Object... args) throws DataAccessException
int update(String sql, Object... args) throws DataAccessException
int update(String sql, PreparedStatementSetter pss) throws DataAccessException
int update(PreparedStatementCreator psc, KeyHolder generatedKeyHolder) throws DataAccessException
int[] batchUpdate(String sql, List<Object[]> batchArgs) throws DataAccessException
int[] batchUpdate(String sql, PreparedStatementSetterBatch pss) throws DataAccessException
<T> int[][] batchUpdate(String sql, Collection<T> batchArgs, int batchSize, PreparedStatementSetterBatchCustom<T> pss) throws DataAccessException
<T> T query(String sql, ResultSetExtractor<T> rse) throws DataAccessException
<T> T query(String sql, Object[] args, ResultSetExtractor<T> rse) throws DataAccessException
<T> T query(String sql, PreparedStatementSetter pss, ResultSetExtractor<T> rse) throws DataAccessException
<T> T query(PreparedStatementCreator psc, PreparedStatementSetter pss, ResultSetExtractor<T> rse) throws DataAccessException
<T> List<T> query(String sql, RowExtractor<T> rowMapper) throws DataAccessException
<T> List<T> query(String sql, Object[] args, RowExtractor<T> rowMapper) throws DataAccessException
void execute(String sql) throws DataAccessException
<T> T execute(String sql, PreparedStatementCallback<T> action) throws DataAccessException
<T> T execute(StatementCallback<T> action) throws DataAccessException
<T> T execute(PreparedStatementCreator psc, PreparedStatementCallback<T> action) throws DataAccessException
Copyright © 2023. All rights reserved.