diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedXmlEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedXmlEmbeddableTest.java index 450a1244883c..63f4b6c9beea 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedXmlEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedXmlEmbeddableTest.java @@ -9,12 +9,14 @@ import jakarta.persistence.Id; import jakarta.persistence.Tuple; import org.hibernate.annotations.JdbcTypeCode; +import org.hibernate.dialect.OracleDialect; import org.hibernate.testing.orm.domain.gambit.EntityOfBasics; import org.hibernate.testing.orm.domain.gambit.MutableValue; import org.hibernate.testing.orm.junit.BaseSessionFactoryFunctionalTest; import org.hibernate.testing.orm.junit.DialectFeatureChecks; import org.hibernate.testing.orm.junit.Jira; import org.hibernate.testing.orm.junit.RequiresDialectFeature; +import org.hibernate.testing.orm.junit.SkipForDialect; import org.hibernate.type.SqlTypes; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; @@ -40,6 +42,8 @@ import static org.junit.jupiter.api.Assertions.assertNull; @RequiresDialectFeature(feature = DialectFeatureChecks.SupportsXmlAggregate.class) +@SkipForDialect(dialectClass = OracleDialect.class, majorVersion = 23, matchSubTypes = true, + reason = "Currently failing on Oracle 23+ due to Bug 37319693 - ORA-00600 with check constraint on xml type") public class NestedXmlEmbeddableTest extends BaseSessionFactoryFunctionalTest { @Override diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/XmlEmbeddableTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/XmlEmbeddableTest.java index 3392085176f8..66056b9e806a 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/XmlEmbeddableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/XmlEmbeddableTest.java @@ -8,12 +8,14 @@ import jakarta.persistence.Id; import jakarta.persistence.Tuple; import org.hibernate.annotations.JdbcTypeCode; +import org.hibernate.dialect.OracleDialect; import org.hibernate.testing.orm.domain.gambit.EntityOfBasics; import org.hibernate.testing.orm.domain.gambit.MutableValue; import org.hibernate.testing.orm.junit.BaseSessionFactoryFunctionalTest; import org.hibernate.testing.orm.junit.DialectFeatureChecks; import org.hibernate.testing.orm.junit.JiraKey; import org.hibernate.testing.orm.junit.RequiresDialectFeature; +import org.hibernate.testing.orm.junit.SkipForDialect; import org.hibernate.type.SqlTypes; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; @@ -37,6 +39,8 @@ import static org.junit.jupiter.api.Assertions.assertNull; @RequiresDialectFeature(feature = DialectFeatureChecks.SupportsXmlAggregate.class) +@SkipForDialect(dialectClass = OracleDialect.class, majorVersion = 23, matchSubTypes = true, + reason = "Currently failing on Oracle 23+ due to Bug 37319693 - ORA-00600 with check constraint on xml type") public class XmlEmbeddableTest extends BaseSessionFactoryFunctionalTest { @Override