mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-13 14:44:48 +00:00
HHH-12713 - Make EntityGraph creation more convenient
- documentation tests only run on H2Dialect
This commit is contained in:
parent
5e8781f8fa
commit
c49ebe888a
@ -15,6 +15,7 @@
|
||||
import javax.persistence.ManyToOne;
|
||||
import javax.persistence.TypedQuery;
|
||||
|
||||
import org.hibernate.dialect.H2Dialect;
|
||||
import org.hibernate.graph.AbstractEntityGraphTest;
|
||||
import org.hibernate.graph.GraphParser;
|
||||
import org.hibernate.graph.EntityGraphs;
|
||||
@ -23,11 +24,13 @@
|
||||
import org.hibernate.userguide.fetching.GraphFetchingTest.Employee;
|
||||
import org.hibernate.userguide.fetching.GraphFetchingTest.Project;
|
||||
|
||||
import org.hibernate.testing.RequiresDialect;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hibernate.testing.transaction.TransactionUtil.doInJPA;
|
||||
|
||||
@RequiresDialect(H2Dialect.class)
|
||||
public class GraphParsingTest extends AbstractEntityGraphTest {
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user