two very minor doc fixes
This commit is contained in:
parent
86025a9af8
commit
a1ea84a3ac
|
@ -351,7 +351,7 @@ include::{sourcedir}/HQLTest.java[tags=hql-api-basic-usage-example]
|
|||
====
|
||||
|
||||
[[hql-api-result-transformers]]
|
||||
=== Query result transformers
|
||||
==== Query result transformers
|
||||
|
||||
A program may hook into the process of building the query results by providing a `org.hibernate.transform.ResultListTransformer` or `org.hibernate.transform.TupleTransformer`.
|
||||
|
||||
|
|
|
@ -43,18 +43,18 @@ public class SelectDistinctTest extends BaseEntityManagerFunctionalTestCase {
|
|||
public void init() {
|
||||
doInJPA(this::entityManagerFactory, entityManager -> {
|
||||
Person gavinKing = new Person("Gavin", "King");
|
||||
Person stephanKing = new Person("Stephen", "King");
|
||||
Person stephenKing = new Person("Stephen", "King");
|
||||
Person vladMihalcea = new Person("Vlad", "Mihalcea");
|
||||
|
||||
gavinKing.addBook(new Book("Hibernate in Action"));
|
||||
gavinKing.addBook(new Book("Java Persistence with Hibernate"));
|
||||
|
||||
stephanKing.addBook(new Book("The Green Mile"));
|
||||
stephenKing.addBook(new Book("The Green Mile"));
|
||||
|
||||
vladMihalcea.addBook(new Book("High-Performance Java Persistence"));
|
||||
|
||||
entityManager.persist(gavinKing);
|
||||
entityManager.persist(stephanKing);
|
||||
entityManager.persist(stephenKing);
|
||||
entityManager.persist(vladMihalcea);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue