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
This commit is contained in:
Pinaki Poddar 2010-08-17 18:29:58 +00:00
parent f51ead3fb5
commit 4283d0d840
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
<programlisting>
EntityManager em = ... ;
CriteriaBuilder queryBuilder = em.getCriteriaBuilder();
CriteriaQuery qdef = queryBuilder.createCriteriaQuery();
CriteriaQuery qdef = queryBuilder.createQuery();
</programlisting>
The first step in constructing a query definition is specification of
query roots. Query roots specify the domain objects on which the query