com.mysema.query.jpa.impl
Class JPADeleteClause
java.lang.Object
com.mysema.query.jpa.impl.JPADeleteClause
- All Implemented Interfaces:
- DeleteClause<JPADeleteClause>, DMLClause<JPADeleteClause>, FilteredClause<JPADeleteClause>
public class JPADeleteClause
- extends Object
- implements DeleteClause<JPADeleteClause>
DeleteClause implementation for JPA
- Author:
- tiwe
JPADeleteClause
public JPADeleteClause(javax.persistence.EntityManager em,
EntityPath<?> entity)
JPADeleteClause
public JPADeleteClause(javax.persistence.EntityManager entityManager,
EntityPath<?> entity,
JPQLTemplates templates)
execute
public long execute()
- Description copied from interface:
DMLClause
- Execute the clause and return the amount of affected rows
- Specified by:
execute
in interface DMLClause<JPADeleteClause>
- Returns:
where
public JPADeleteClause where(Predicate... o)
- Description copied from interface:
FilteredClause
- Adds the given filter conditions
- Specified by:
where
in interface FilteredClause<JPADeleteClause>
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.