| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.jpa.impl.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,
    Expression<? extends T> expression)
Add an expression binding  | 
|
 | 
set(Path<T> path,
    T value)
Add a value binding  | 
|
 | 
setNull(Path<T> path)
Bind the given path to null  | 
|
 String | 
toString()
 | 
|
 JPAUpdateClause | 
where(Predicate... o)
Adds the given filter conditions  | 
|
| 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 <T> JPAUpdateClause set(Path<T> path,
                               Expression<? extends T> expression)
StoreClause
set in interface StoreClause<JPAUpdateClause>public <T> JPAUpdateClause setNull(Path<T> path)
StoreClause
setNull in interface StoreClause<JPAUpdateClause>
public JPAUpdateClause set(List<? extends Path<?>> paths,
                           List<?> values)
UpdateClause
set in interface UpdateClause<JPAUpdateClause>public JPAUpdateClause where(Predicate... o)
FilteredClause
where in interface FilteredClause<JPAUpdateClause>o - filter conditions to be added
public String toString()
toString in class Object
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||