E
- the generic type of the queried object (typically a Bean
).public class JpqlDeleteStatementImpl<E> extends AbstractDeleteStatement<E,JpqlDeleteStatement<E>> implements JpqlDeleteStatement<E>
JpqlDeleteStatement
.Modifier and Type | Field and Description |
---|---|
private javax.persistence.EntityManager |
entityManager |
Constructor and Description |
---|
JpqlDeleteStatementImpl(javax.persistence.EntityManager entityManager,
SqlDialect dialect,
EntityAlias<E> alias)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected long |
doExecute(String sql,
Integer limit) |
protected javax.persistence.EntityManager |
getEntityManager() |
buildStart, limit, where
execute
addAlias, addAliases, build, createFeature, createSqlBuilder, feature, getAlias, getBuilder, getDialect, getFeature, getParameters, getResultClass, getSql, isSupportingAlias, self, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAlias, getDialect, getParameters, getSql, toString
execute
where
limit
public JpqlDeleteStatementImpl(javax.persistence.EntityManager entityManager, SqlDialect dialect, EntityAlias<E> alias)
entityManager
- the EntityManager
instance.dialect
- - see AbstractStatement.getDialect()
.alias
- - see AbstractStatement.getAlias()
.protected javax.persistence.EntityManager getEntityManager()
EntityManager
.protected long doExecute(String sql, Integer limit)
doExecute
in class AbstractModifyStatement<E,JpqlDeleteStatement<E>>
sql
- the AbstractStatement.getSql()
to execute.limit
- the limit
.AbstractModifyStatement.execute()
Copyright © 2001–2016 mmm-Team. All rights reserved.