mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
Fix Derby warnings
See gh-36045
This commit is contained in:
+1
@@ -138,6 +138,7 @@ class EmbeddedDatabaseBuilderTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("removal")
|
||||
void setTypeToDerbyAndIgnoreFailedDrops() {
|
||||
doTwice(() -> {
|
||||
EmbeddedDatabase db = builder
|
||||
|
||||
+1
-1
@@ -77,7 +77,7 @@ class ScriptUtilsIntegrationTests extends AbstractDatabaseInitializationTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unchecked")
|
||||
@SuppressWarnings({"unchecked", "removal"})
|
||||
void statementWithMultipleResultSets() throws SQLException {
|
||||
// Derby does not support multiple statements/ResultSets within a single Statement.
|
||||
assumeThat(this.databaseType).isNotSameAs(EmbeddedDatabaseType.DERBY);
|
||||
|
||||
Reference in New Issue
Block a user