try to fix two CI failures from new tests

This commit is contained in:
Gavin King 2024-11-30 10:40:43 +01:00
parent e14ead0c0f
commit c802501a0a
2 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
@RequiresDialect(MySQLDialect.class)
@RequiresDialect(SQLServerDialect.class)
@RequiresDialect(PostgreSQLDialect.class)
@RequiresDialect(DB2Dialect.class)
@RequiresDialect(value = DB2Dialect.class, majorVersion = 11)
@RequiresDialect(OracleDialect.class)
public class CustomSqlRestrictionOverridesTest {
@Test

View File

@ -6,14 +6,18 @@ package org.hibernate.orm.test.id;
import org.hibernate.cfg.AvailableSettings;
import org.hibernate.cfg.Configuration;
import org.hibernate.dialect.HANADialect;
import org.hibernate.testing.orm.junit.JiraKey;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import org.hibernate.testing.orm.junit.SkipForDialect;
import org.junit.Test;
import jakarta.persistence.*;
import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
@SkipForDialect( dialectClass = HANADialect.class,
reason = "The INSERT statement for table [Child] contains no column, and this is not supported")
public class ReSaveReferencedDeletedEntity extends BaseCoreFunctionalTestCase {
@Override
protected Class<?>[] getAnnotatedClasses() {