mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-01 15:29:11 +00:00
skip a test on TiDB
as requested by @beikov
This commit is contained in:
parent
84be9faf70
commit
457872dbdd
@ -8,6 +8,7 @@
|
|||||||
import org.hibernate.annotations.OnDeleteAction;
|
import org.hibernate.annotations.OnDeleteAction;
|
||||||
import org.hibernate.dialect.SybaseDialect;
|
import org.hibernate.dialect.SybaseDialect;
|
||||||
|
|
||||||
|
import org.hibernate.dialect.TiDBDialect;
|
||||||
import org.hibernate.testing.orm.junit.DomainModel;
|
import org.hibernate.testing.orm.junit.DomainModel;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactory;
|
import org.hibernate.testing.orm.junit.SessionFactory;
|
||||||
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
import org.hibernate.testing.orm.junit.SessionFactoryScope;
|
||||||
@ -43,6 +44,7 @@ public void tearDown(SessionFactoryScope scope) {
|
|||||||
matchSubTypes = true,
|
matchSubTypes = true,
|
||||||
reason = "Sybase does not support on delete actions"
|
reason = "Sybase does not support on delete actions"
|
||||||
)
|
)
|
||||||
|
@SkipForDialect(dialectClass = TiDBDialect.class)
|
||||||
public void testManyToOne(SessionFactoryScope scope) {
|
public void testManyToOne(SessionFactoryScope scope) {
|
||||||
scope.inTransaction(
|
scope.inTransaction(
|
||||||
session -> {
|
session -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user