Merge pull request #694 from Shredder121/patch-1

Typo in documentation #693
This commit is contained in:
Timo Westkämper 2014-04-01 12:58:06 +03:00
commit e8a1b69ae8

View File

@ -501,7 +501,7 @@ QCustomer customer = QCustomer.customer;
// delete all customers
new JPADeleteClause(entityManager, customer).execute();
// delete all customers with a level less than 3
new JPAeDeleteClause(entityManager, customer).where(customer.level.lt(3)).execute();
new JPADeleteClause(entityManager, customer).where(customer.level.lt(3)).execute();
]]></programlisting>
<para>The second parameter of the JPADeleteClause constructor is the entity to