Documentaion edit on CriteriaBuilder API

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@986439 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2010-08-17 18:26:43 +00:00
parent 0b3f1b2d2a
commit 22620e0a65
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