mirror of https://github.com/apache/openjpa.git
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:
parent
f51ead3fb5
commit
4283d0d840
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue