E
- the generic type of the queried object (typically a Bean
).public class JpqlUpdateStatementImpl<E> extends AbstractUpdateStatement<E,JpqlUpdateStatement<E>> implements JpqlUpdateStatement<E>
JpqlUpdateStatement
.Modifier and Type | Field and Description |
---|---|
private javax.persistence.EntityManager |
entityManager |
Constructor and Description |
---|
JpqlUpdateStatementImpl(javax.persistence.EntityManager entityManager,
SqlDialect dialect,
EntityAlias<E> alias)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
doExecute(String sql,
Integer limit) |
protected javax.persistence.EntityManager |
getEntityManager() |
buildStart, limit, where
set, set
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
set, set, setNull
where
limit
public JpqlUpdateStatementImpl(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
.public long doExecute(String sql, Integer limit)
doExecute
in class AbstractModifyStatement<E,JpqlUpdateStatement<E>>
sql
- the AbstractStatement.getSql()
to execute.limit
- the limit
.AbstractModifyStatement.execute()
Copyright © 2001–2016 mmm-Team. All rights reserved.