File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/inheritance Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 12
12
import jakarta .persistence .ManyToOne ;
13
13
import jakarta .validation .constraints .NotNull ;
14
14
import org .hibernate .exception .ConstraintViolationException ;
15
+ import org .hibernate .testing .orm .junit .DialectFeatureChecks ;
15
16
import org .hibernate .testing .orm .junit .EntityManagerFactoryScope ;
16
17
import org .hibernate .testing .orm .junit .Jpa ;
18
+ import org .hibernate .testing .orm .junit .RequiresDialectFeature ;
17
19
import org .junit .jupiter .api .Test ;
18
20
19
21
import static org .junit .jupiter .api .Assertions .assertEquals ;
26
28
SingleTableConstraintsTest .Journal .class ,
27
29
SingleTableConstraintsTest .Paper .class ,
28
30
SingleTableConstraintsTest .Monograph .class })
31
+ @ RequiresDialectFeature (feature = DialectFeatureChecks .SupportsTableCheck .class )
29
32
class SingleTableConstraintsTest {
30
33
@ Test void test (EntityManagerFactoryScope scope ) {
31
34
scope .inTransaction ( em -> {
You can’t perform that action at this time.
0 commit comments