com.mysema.query.sql.dml
Class SQLDeleteClause
java.lang.Object
com.mysema.query.sql.dml.SQLDeleteClause
- All Implemented Interfaces:
- DeleteClause<SQLDeleteClause>, DMLClause<SQLDeleteClause>, FilteredClause<SQLDeleteClause>
public class SQLDeleteClause
- extends java.lang.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, wait, wait, wait |
SQLDeleteClause
public SQLDeleteClause(java.sql.Connection connection,
SQLTemplates templates,
PEntity<?> entity)
SQLDeleteClause
public SQLDeleteClause(java.sql.Connection connection,
Configuration configuration,
PEntity<?> entity)
close
protected void close(java.sql.PreparedStatement stmt)
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<SQLDeleteClause>
- Returns:
where
public SQLDeleteClause where(EBoolean... o)
- Description copied from interface:
FilteredClause
- Defines the filter constraints
- Specified by:
where
in interface FilteredClause<SQLDeleteClause>
- Returns:
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.