public class JPADeleteClause extends Object implements DeleteClause<JPADeleteClause>
| Constructor and Description | 
|---|
| JPADeleteClause(javax.persistence.EntityManager em,
               EntityPath<?> entity) | 
| JPADeleteClause(javax.persistence.EntityManager entityManager,
               EntityPath<?> entity,
               JPQLTemplates templates) | 
| Modifier and Type | Method and Description | 
|---|---|
| long | execute()Execute the clause and return the amount of affected rows | 
| JPADeleteClause | setLockMode(javax.persistence.LockModeType lockMode) | 
| String | toString() | 
| JPADeleteClause | where(Predicate... o)Adds the given filter conditions | 
public JPADeleteClause(javax.persistence.EntityManager em,
                       EntityPath<?> entity)
public JPADeleteClause(javax.persistence.EntityManager entityManager,
                       EntityPath<?> entity,
                       JPQLTemplates templates)
public long execute()
DMLClauseexecute in interface DMLClause<JPADeleteClause>public JPADeleteClause where(Predicate... o)
FilteredClauseSkips null arguments
where in interface FilteredClause<JPADeleteClause>o - filter conditions to be addedpublic JPADeleteClause setLockMode(javax.persistence.LockModeType lockMode)
Copyright © 2007–2015 Querydsl. All rights reserved.