com.mysema.query.sql.dml
Class SQLDeleteClause
java.lang.Object
com.mysema.query.sql.dml.SQLDeleteClause
- All Implemented Interfaces:
- DeleteClause<SQLDeleteClause>
public class SQLDeleteClause
- extends Object
- implements DeleteClause<SQLDeleteClause>
SQLDeleteClause defines a DELETE clause
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SQLDeleteClause
public SQLDeleteClause(Connection connection,
SQLTemplates templates,
PEntity<?> entity)
execute
public long execute()
- Description copied from interface:
DeleteClause
- Execute the delete clause and return the amount of deleted rows/items
- Specified by:
execute
in interface DeleteClause<SQLDeleteClause>
- Returns:
close
protected void close(PreparedStatement stmt)
where
public SQLDeleteClause where(EBoolean... o)
- Description copied from interface:
DeleteClause
- Defines the filter constraints
- Specified by:
where
in interface DeleteClause<SQLDeleteClause>
- Returns:
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.