Fix Derby warnings

See gh-36045
This commit is contained in:
Brian Clozel
2026-08-31 18:45:41 +02:00
parent 5df0c2dc0c
commit 990d1a8370
2 changed files with 2 additions and 1 deletions
@@ -138,6 +138,7 @@ class EmbeddedDatabaseBuilderTests {
}
@Test
@SuppressWarnings("removal")
void setTypeToDerbyAndIgnoreFailedDrops() {
doTwice(() -> {
EmbeddedDatabase db = builder
@@ -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);