Skip DB2 test on old DB2 versions

This commit is contained in:
Christian Beikov 2024-04-10 16:24:09 +02:00
parent 98c79ce53e
commit 2343bfa513
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ public class TransactionTimeoutTest {
}
@Test
@RequiresDialect(DB2Dialect.class)
@RequiresDialect(value = DB2Dialect.class, majorVersion = 11, comment = "DBMS_LOCK.SLEEP is only supported since 11")
public void testDB2(EntityManagerFactoryScope scope) throws Throwable {
test( scope, entityManager -> {
entityManager.createStoredProcedureQuery( "DBMS_LOCK.SLEEP" )