File tree Expand file tree Collapse file tree 3 files changed +11
-0
lines changed
hibernate-core/src/test/java/org/hibernate/orm/test/generatedkeys Expand file tree Collapse file tree 3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 17
17
import org .hibernate .testing .orm .junit .RequiresDialect ;
18
18
import org .hibernate .testing .orm .junit .SessionFactory ;
19
19
import org .hibernate .testing .orm .junit .SessionFactoryScope ;
20
+ import org .hibernate .testing .orm .junit .SkipForDialect ;
21
+
22
+ import org .hibernate .dialect .TiDBDialect ;
20
23
import org .hibernate .tool .hbm2ddl .SchemaExport ;
21
24
import org .hibernate .tool .schema .TargetType ;
22
25
import org .junit .jupiter .api .Test ;
44
47
@ RequiresDialect (H2Dialect .class )
45
48
@ RequiresDialect (DB2Dialect .class )
46
49
@ RequiresDialect (SQLServerDialect .class )
50
+ @ SkipForDialect (dialectClass = TiDBDialect .class , reason = "TiDB does not support triggers" )
47
51
public class GeneratedTest {
48
52
49
53
@ Test
Original file line number Diff line number Diff line change 16
16
import org .hibernate .dialect .OracleDialect ;
17
17
import org .hibernate .dialect .PostgreSQLDialect ;
18
18
import org .hibernate .dialect .SQLServerDialect ;
19
+ import org .hibernate .dialect .TiDBDialect ;
19
20
import org .hibernate .tool .hbm2ddl .SchemaExport ;
20
21
import org .hibernate .tool .schema .TargetType ;
21
22
24
25
import org .hibernate .testing .orm .junit .RequiresDialect ;
25
26
import org .hibernate .testing .orm .junit .SessionFactory ;
26
27
import org .hibernate .testing .orm .junit .SessionFactoryScope ;
28
+ import org .hibernate .testing .orm .junit .SkipForDialect ;
27
29
import org .junit .jupiter .api .Test ;
28
30
29
31
import static org .junit .jupiter .api .Assertions .assertEquals ;
42
44
@ RequiresDialect (MySQLDialect .class )
43
45
@ RequiresDialect (DB2Dialect .class )
44
46
@ RequiresDialect (SQLServerDialect .class )
47
+ @ SkipForDialect (dialectClass = TiDBDialect .class , reason = "TiDB does not support triggers" )
45
48
public class SelectGeneratorTest {
46
49
47
50
@ Test
Original file line number Diff line number Diff line change 17
17
import org .hibernate .testing .orm .junit .RequiresDialect ;
18
18
import org .hibernate .testing .orm .junit .SessionFactory ;
19
19
import org .hibernate .testing .orm .junit .SessionFactoryScope ;
20
+ import org .hibernate .testing .orm .junit .SkipForDialect ;
21
+
22
+ import org .hibernate .dialect .TiDBDialect ;
20
23
import org .hibernate .tool .hbm2ddl .SchemaExport ;
21
24
import org .hibernate .tool .schema .TargetType ;
22
25
import org .junit .jupiter .api .Test ;
44
47
@ RequiresDialect (H2Dialect .class )
45
48
@ RequiresDialect (DB2Dialect .class )
46
49
@ RequiresDialect (SQLServerDialect .class )
50
+ @ SkipForDialect (dialectClass = TiDBDialect .class , reason = "TiDB does not support triggers" )
47
51
public class SelectGeneratorTest {
48
52
49
53
@ Test
You can’t perform that action at this time.
0 commit comments