add throws DataAccessException
This commit is contained in:
@@ -15,10 +15,10 @@ public interface JdbcTemplate {
|
||||
<T> T query(@Language("GenericSQL") String sql, ResultSetExtractor<T> rse) throws DataAccessException;
|
||||
|
||||
<T> T query(@Language("GenericSQL") String sql, PreparedStatementProcessor psp, ResultSetExtractor<T> rse)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
<T> Optional<T> queryOne(@Language("GenericSQL") String sql, ResultSetExtractor<T> rse)
|
||||
throws DataAccessException;
|
||||
throws DataAccessException;
|
||||
|
||||
<T> Optional<T> queryOne(@Language("GenericSQL") String sql, PreparedStatementProcessor psp,
|
||||
ResultSetExtractor<T> rse) throws DataAccessException;
|
||||
@@ -34,5 +34,5 @@ public interface JdbcTemplate {
|
||||
|
||||
void transaction(Consumer<JdbcTemplate> consumer);
|
||||
|
||||
void update(@Language("GenericSQL") String sql, PreparedStatementProcessor psp);
|
||||
void update(@Language("GenericSQL") String sql, PreparedStatementProcessor psp) throws DataAccessException;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user