add throws DataAccessException

This commit is contained in:
lCarLyl
2022-09-25 01:59:55 +03:00
parent c4d459c461
commit 4574c841d8

View File

@@ -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;
}