com.mysema.query.jdo.dml
Class JDOQLDeleteClause
java.lang.Object
com.mysema.query.jdo.dml.JDOQLDeleteClause
- All Implemented Interfaces:
- DeleteClause<JDOQLDeleteClause>, DMLClause<JDOQLDeleteClause>, FilteredClause<JDOQLDeleteClause>
public class JDOQLDeleteClause
- extends Object
- implements DeleteClause<JDOQLDeleteClause>
DeleteClause implementation for JDO
- Author:
- tiwe
JDOQLDeleteClause
public JDOQLDeleteClause(javax.jdo.PersistenceManager pm,
EntityPath<?> entity)
JDOQLDeleteClause
public JDOQLDeleteClause(javax.jdo.PersistenceManager persistenceManager,
EntityPath<?> entity,
JDOQLTemplates 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<JDOQLDeleteClause>
- Returns:
where
public JDOQLDeleteClause where(Predicate... o)
- Description copied from interface:
FilteredClause
- Adds the given filter conditions
- Specified by:
where
in interface FilteredClause<JDOQLDeleteClause>
- Returns:
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.