Skip to content

Commit 5f5551c

Browse files
committed
HHH-17448 - Add newly standard column annotation attributes to Hibernate column annotations
1 parent ec161c1 commit 5f5551c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

hibernate-core/src/test/java/org/hibernate/orm/test/softdelete/SoftDeleteColumnConfigTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
package org.hibernate.orm.test.softdelete;
88

99
import org.hibernate.annotations.SoftDelete;
10+
import org.hibernate.dialect.H2Dialect;
1011
import org.hibernate.mapping.Column;
11-
import org.hibernate.mapping.PersistentClass;
1212
import org.hibernate.mapping.RootClass;
1313

1414
import org.hibernate.testing.orm.junit.DomainModel;
1515
import org.hibernate.testing.orm.junit.DomainModelScope;
16+
import org.hibernate.testing.orm.junit.RequiresDialect;
1617
import org.hibernate.testing.schema.SchemaCreateHelper;
1718
import org.junit.jupiter.api.Test;
1819

@@ -29,6 +30,7 @@
2930
public class SoftDeleteColumnConfigTests {
3031
@Test
3132
@DomainModel(annotatedClasses = Thing.class)
33+
@RequiresDialect( value = H2Dialect.class, comment = "Not all dialects export column comments, and we only really need to check for on that does" )
3234
void verifyModel(DomainModelScope modelScope) {
3335
final RootClass entityBinding = (RootClass) modelScope.getEntityBinding( Thing.class );
3436
final Column softDeleteColumn = entityBinding.getSoftDeleteColumn();

0 commit comments

Comments
 (0)