HHH-12937 Only run the tests with H2Dialect
(cherry picked from commit 23c6565f72
)
This commit is contained in:
parent
6695f4c57b
commit
b8b7f16d14
|
@ -22,7 +22,8 @@ import org.hibernate.Hibernate;
|
|||
import org.hibernate.Session;
|
||||
import org.hibernate.annotations.Immutable;
|
||||
import org.hibernate.annotations.Where;
|
||||
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
import org.junit.After;
|
||||
|
@ -36,8 +37,10 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* @author Gail Badner
|
||||
*/
|
||||
@RequiresDialect(H2Dialect.class)
|
||||
public class LazyElementCollectionBasicNonUniqueIdWhereTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class[] { Material.class, Building.class };
|
||||
}
|
||||
|
|
|
@ -27,7 +27,8 @@ import org.hibernate.Hibernate;
|
|||
import org.hibernate.Session;
|
||||
import org.hibernate.annotations.Immutable;
|
||||
import org.hibernate.annotations.Where;
|
||||
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
import org.junit.After;
|
||||
|
@ -41,8 +42,10 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* @author Gail Badner
|
||||
*/
|
||||
@RequiresDialect(H2Dialect.class)
|
||||
public class LazyElementCollectionWithLazyManyToOneNonUniqueIdWhereTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
protected Class<?>[] getAnnotatedClasses() {
|
||||
return new Class[] { Material.class, Building.class, Rating.class, Size.class };
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@ import java.util.Set;
|
|||
|
||||
import org.hibernate.Hibernate;
|
||||
import org.hibernate.Session;
|
||||
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
import org.junit.After;
|
||||
|
@ -27,8 +28,10 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* @author Gail Badner
|
||||
*/
|
||||
@RequiresDialect(H2Dialect.class)
|
||||
public class LazyElementCollectionBasicNonUniqueIdWhereTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
protected String[] getMappings() {
|
||||
return new String[] { "where/hbm/LazyElementCollectionBasicNonUniqueIdWhereTest.hbm.xml" };
|
||||
}
|
||||
|
|
|
@ -13,7 +13,8 @@ import java.util.Set;
|
|||
|
||||
import org.hibernate.Hibernate;
|
||||
import org.hibernate.Session;
|
||||
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.hibernate.testing.TestForIssue;
|
||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||
import org.junit.After;
|
||||
|
@ -27,8 +28,10 @@ import static org.junit.Assert.assertTrue;
|
|||
/**
|
||||
* @author Gail Badner
|
||||
*/
|
||||
@RequiresDialect(H2Dialect.class)
|
||||
public class LazyElementCollectionWithLazyManyToOneNonUniqueIdWhereTest extends BaseCoreFunctionalTestCase {
|
||||
|
||||
@Override
|
||||
protected String[] getMappings() {
|
||||
return new String[] { "where/hbm/LazyElementCollectionWithLazyManyToOneNonUniqueIdWhereTest.hbm.xml" };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue