Skip to content

Commit ceb7e56

Browse files
committed
HHH-18799 Temporarily skip XML embeddable tests on Oracle 23+
1 parent 0bb48c1 commit ceb7e56

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/NestedXmlEmbeddableTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
import jakarta.persistence.Id;
1010
import jakarta.persistence.Tuple;
1111
import org.hibernate.annotations.JdbcTypeCode;
12+
import org.hibernate.dialect.OracleDialect;
1213
import org.hibernate.testing.orm.domain.gambit.EntityOfBasics;
1314
import org.hibernate.testing.orm.domain.gambit.MutableValue;
1415
import org.hibernate.testing.orm.junit.BaseSessionFactoryFunctionalTest;
1516
import org.hibernate.testing.orm.junit.DialectFeatureChecks;
1617
import org.hibernate.testing.orm.junit.Jira;
1718
import org.hibernate.testing.orm.junit.RequiresDialectFeature;
19+
import org.hibernate.testing.orm.junit.SkipForDialect;
1820
import org.hibernate.type.SqlTypes;
1921
import org.junit.jupiter.api.AfterEach;
2022
import org.junit.jupiter.api.BeforeEach;
@@ -40,6 +42,8 @@
4042
import static org.junit.jupiter.api.Assertions.assertNull;
4143

4244
@RequiresDialectFeature(feature = DialectFeatureChecks.SupportsXmlAggregate.class)
45+
@SkipForDialect(dialectClass = OracleDialect.class, majorVersion = 23, matchSubTypes = true,
46+
reason = "Currently failing on Oracle 23+ due to Bug 37319693 - ORA-00600 with check constraint on xml type")
4347
public class NestedXmlEmbeddableTest extends BaseSessionFactoryFunctionalTest {
4448

4549
@Override

hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/XmlEmbeddableTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,14 @@
88
import jakarta.persistence.Id;
99
import jakarta.persistence.Tuple;
1010
import org.hibernate.annotations.JdbcTypeCode;
11+
import org.hibernate.dialect.OracleDialect;
1112
import org.hibernate.testing.orm.domain.gambit.EntityOfBasics;
1213
import org.hibernate.testing.orm.domain.gambit.MutableValue;
1314
import org.hibernate.testing.orm.junit.BaseSessionFactoryFunctionalTest;
1415
import org.hibernate.testing.orm.junit.DialectFeatureChecks;
1516
import org.hibernate.testing.orm.junit.JiraKey;
1617
import org.hibernate.testing.orm.junit.RequiresDialectFeature;
18+
import org.hibernate.testing.orm.junit.SkipForDialect;
1719
import org.hibernate.type.SqlTypes;
1820
import org.junit.jupiter.api.AfterEach;
1921
import org.junit.jupiter.api.BeforeEach;
@@ -37,6 +39,8 @@
3739
import static org.junit.jupiter.api.Assertions.assertNull;
3840

3941
@RequiresDialectFeature(feature = DialectFeatureChecks.SupportsXmlAggregate.class)
42+
@SkipForDialect(dialectClass = OracleDialect.class, majorVersion = 23, matchSubTypes = true,
43+
reason = "Currently failing on Oracle 23+ due to Bug 37319693 - ORA-00600 with check constraint on xml type")
4044
public class XmlEmbeddableTest extends BaseSessionFactoryFunctionalTest {
4145

4246
@Override

0 commit comments

Comments
 (0)