try to fix two CI failures from new tests
This commit is contained in:
parent
e14ead0c0f
commit
c802501a0a
|
@ -34,7 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull;
|
||||||
@RequiresDialect(MySQLDialect.class)
|
@RequiresDialect(MySQLDialect.class)
|
||||||
@RequiresDialect(SQLServerDialect.class)
|
@RequiresDialect(SQLServerDialect.class)
|
||||||
@RequiresDialect(PostgreSQLDialect.class)
|
@RequiresDialect(PostgreSQLDialect.class)
|
||||||
@RequiresDialect(DB2Dialect.class)
|
@RequiresDialect(value = DB2Dialect.class, majorVersion = 11)
|
||||||
@RequiresDialect(OracleDialect.class)
|
@RequiresDialect(OracleDialect.class)
|
||||||
public class CustomSqlRestrictionOverridesTest {
|
public class CustomSqlRestrictionOverridesTest {
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -6,14 +6,18 @@ package org.hibernate.orm.test.id;
|
||||||
|
|
||||||
import org.hibernate.cfg.AvailableSettings;
|
import org.hibernate.cfg.AvailableSettings;
|
||||||
import org.hibernate.cfg.Configuration;
|
import org.hibernate.cfg.Configuration;
|
||||||
|
import org.hibernate.dialect.HANADialect;
|
||||||
import org.hibernate.testing.orm.junit.JiraKey;
|
import org.hibernate.testing.orm.junit.JiraKey;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
|
import org.hibernate.testing.orm.junit.SkipForDialect;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
|
||||||
import static org.hibernate.testing.transaction.TransactionUtil.doInHibernate;
|
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 {
|
public class ReSaveReferencedDeletedEntity extends BaseCoreFunctionalTestCase {
|
||||||
@Override
|
@Override
|
||||||
protected Class<?>[] getAnnotatedClasses() {
|
protected Class<?>[] getAnnotatedClasses() {
|
||||||
|
|
Loading…
Reference in New Issue