From 4283d0d8406d9a4fca7fe76e0ff1b09d7b33cda5 Mon Sep 17 00:00:00 2001 From: Pinaki Poddar Date: Tue, 17 Aug 2010 18:29:58 +0000 Subject: [PATCH] Documentaion edit on CriteriaQuery API git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@986441 13f79535-47bb-0310-9956-ffa450edef68 --- openjpa-project/src/doc/manual/jpa_overview_criteria.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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