diff --git a/openjpa-project/src/doc/manual/jpa_overview_criteria.xml b/openjpa-project/src/doc/manual/jpa_overview_criteria.xml index 42e213f53..58f8c00e8 100644 --- a/openjpa-project/src/doc/manual/jpa_overview_criteria.xml +++ b/openjpa-project/src/doc/manual/jpa_overview_criteria.xml @@ -59,7 +59,7 @@ EntityManager em = ... ; CriteriaBuilder queryBuilder = em.getCriteriaBuilder(); -CriteriaQuery qdef = queryBuilder.createCriteriaQuery(); +CriteriaQuery qdef = queryBuilder.createQuery(); The first step in constructing a query definition is specification of query roots. Query roots specify the domain objects on which the query