|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.hql.jpa.JPAUpdateClause
public class JPAUpdateClause
UpdateClause implementation for JPA
Constructor Summary | |
---|---|
JPAUpdateClause(javax.persistence.EntityManager session,
EntityPath<?> entity)
|
|
JPAUpdateClause(javax.persistence.EntityManager em,
EntityPath<?> entity,
JPQLTemplates templates)
|
Method Summary | ||
---|---|---|
long |
execute()
Execute the clause and return the amount of affected rows |
|
JPAUpdateClause |
set(List<? extends Path<?>> paths,
List<?> values)
Set the paths to be updated |
|
|
set(Path<T> path,
T value)
Add a value binding |
|
String |
toString()
|
|
JPAUpdateClause |
where(EBoolean... o)
Defines the filter constraints |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JPAUpdateClause(javax.persistence.EntityManager session, EntityPath<?> entity)
public JPAUpdateClause(javax.persistence.EntityManager em, EntityPath<?> entity, JPQLTemplates templates)
Method Detail |
---|
public long execute()
DMLClause
execute
in interface DMLClause<JPAUpdateClause>
public <T> JPAUpdateClause set(Path<T> path, T value)
StoreClause
set
in interface StoreClause<JPAUpdateClause>
path
- path to be updatedvalue
- value to set
public JPAUpdateClause set(List<? extends Path<?>> paths, List<?> values)
UpdateClause
set
in interface UpdateClause<JPAUpdateClause>
public JPAUpdateClause where(EBoolean... o)
FilteredClause
where
in interface FilteredClause<JPAUpdateClause>
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |