diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/array/ArrayOfArraysTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/array/ArrayOfArraysTest.java index 755cd13700..0f7becd61d 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/array/ArrayOfArraysTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/mapping/array/ArrayOfArraysTest.java @@ -8,6 +8,8 @@ import org.hibernate.MappingException; import org.hibernate.annotations.JdbcTypeCode; import org.hibernate.cfg.AvailableSettings; import org.hibernate.cfg.Configuration; +import org.hibernate.dialect.CockroachDialect; +import org.hibernate.testing.orm.junit.SkipForDialect; import org.hibernate.type.SqlTypes; import org.hibernate.testing.orm.junit.DialectFeatureChecks; @@ -36,6 +38,7 @@ public class ArrayOfArraysTest { @SessionFactory @ServiceRegistry( settings = @Setting( name = AvailableSettings.HBM2DDL_AUTO, value = "create-drop" ) ) @Test + @SkipForDialect( dialectClass = CockroachDialect.class, reason = "Unable to find server array type for provided name bytes" ) public void testDoubleByteArrayWorks(SessionFactoryScope scope) { final Long id = scope.fromTransaction( session -> { final EntityWithDoubleByteArray entity = new EntityWithDoubleByteArray(); diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/tenantid/TenantIdToOneBidirectionalTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/tenantid/TenantIdToOneBidirectionalTest.java index ddbff76644..b48881eef3 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/tenantid/TenantIdToOneBidirectionalTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/tenantid/TenantIdToOneBidirectionalTest.java @@ -4,6 +4,7 @@ */ package org.hibernate.orm.test.tenantid; +import jakarta.persistence.Column; import org.hibernate.annotations.TenantId; import org.hibernate.boot.SessionFactoryBuilder; import org.hibernate.boot.spi.MetadataImplementor; @@ -115,6 +116,7 @@ public class TenantIdToOneBidirectionalTest implements SessionFactoryProducer { private Long id; @TenantId + @Column(name="tenant_col") private String tenant; @OneToOne( cascade = CascadeType.PERSIST ) @@ -143,6 +145,7 @@ public class TenantIdToOneBidirectionalTest implements SessionFactoryProducer { private Long id; @TenantId + @Column(name="tenant_col") private String tenant; @OneToOne( mappedBy = "child" )