mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-07 23:49:08 +00:00
Suppress deprecation warnings
See gh-37345
This commit is contained in:
@@ -778,6 +778,7 @@ class JdbcTemplateTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("deprecation")
|
||||
void batchUpdateWithCollectionOfObjects() throws Exception {
|
||||
final String sql = "UPDATE NOSUCHTABLE SET DATE_DISPATCHED = SYSDATE WHERE ID = ?";
|
||||
final List<Integer> ids = Arrays.asList(100, 200, 300);
|
||||
@@ -828,6 +829,7 @@ class JdbcTemplateTests {
|
||||
}));
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private void test3BatchesOf2ItemsFailing(Consumer<Exception> exception) throws Exception {
|
||||
String sql = "INSERT INTO NOSUCHTABLE values (?)";
|
||||
List<Integer> ids = Arrays.asList(1, 2, 3, 2, 4, 5);
|
||||
|
||||
Reference in New Issue
Block a user