public class JPAUpdateClause extends Object implements UpdateClause<JPAUpdateClause>
| Constructor and Description |
|---|
JPAUpdateClause(javax.persistence.EntityManager em,
EntityPath<?> entity) |
JPAUpdateClause(javax.persistence.EntityManager em,
EntityPath<?> entity,
JPQLTemplates templates) |
| Modifier and Type | Method and Description |
|---|---|
long |
execute() |
boolean |
isEmpty() |
JPAUpdateClause |
set(List<? extends Path<?>> paths,
List<?> values) |
<T> JPAUpdateClause |
set(Path<T> path,
Expression<? extends T> expression) |
<T> JPAUpdateClause |
set(Path<T> path,
T value) |
JPAUpdateClause |
setLockMode(javax.persistence.LockModeType lockMode) |
<T> JPAUpdateClause |
setNull(Path<T> path) |
String |
toString() |
JPAUpdateClause |
where(Predicate... o) |
public JPAUpdateClause(javax.persistence.EntityManager em,
EntityPath<?> entity)
public JPAUpdateClause(javax.persistence.EntityManager em,
EntityPath<?> entity,
JPQLTemplates templates)
public long execute()
execute in interface DMLClause<JPAUpdateClause>public <T> JPAUpdateClause set(Path<T> path, T value)
set in interface StoreClause<JPAUpdateClause>public <T> JPAUpdateClause set(Path<T> path, Expression<? extends T> expression)
set in interface StoreClause<JPAUpdateClause>public <T> JPAUpdateClause setNull(Path<T> path)
setNull in interface StoreClause<JPAUpdateClause>public JPAUpdateClause set(List<? extends Path<?>> paths, List<?> values)
set in interface UpdateClause<JPAUpdateClause>public JPAUpdateClause where(Predicate... o)
where in interface FilteredClause<JPAUpdateClause>public JPAUpdateClause setLockMode(javax.persistence.LockModeType lockMode)
public boolean isEmpty()
isEmpty in interface StoreClause<JPAUpdateClause>Copyright © 2007–2015 Mysema Ltd. All rights reserved.