HHH-12713 - Make EntityGraph creation more convenient

- documentation tests only run on H2Dialect
This commit is contained in:
Steve Ebersole 2018-10-21 16:15:37 -05:00
parent 5e8781f8fa
commit c49ebe888a
1 changed files with 3 additions and 0 deletions

View File

@ -15,6 +15,7 @@ import javax.persistence.JoinColumn;
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.Department;
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