|
||||||||||
| 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,
PEntity<?> entity)
|
|
JPAUpdateClause(javax.persistence.EntityManager em,
PEntity<?> entity,
HQLTemplates templates)
|
|
| Method Summary | ||
|---|---|---|
long |
execute()
Execute the delete clause and return the amount of updated rows/items |
|
|
set(Path<T> path,
T value)
Set the paths to be updated |
|
JPAUpdateClause |
where(EBoolean... o)
Defines the filter constraints |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JPAUpdateClause(javax.persistence.EntityManager session,
PEntity<?> entity)
public JPAUpdateClause(javax.persistence.EntityManager em,
PEntity<?> entity,
HQLTemplates templates)
| Method Detail |
|---|
public long execute()
UpdateClause
execute in interface UpdateClause<JPAUpdateClause>
public <T> JPAUpdateClause set(Path<T> path,
T value)
UpdateClause
set in interface UpdateClause<JPAUpdateClause>path - path to be updatedvalue - value to set
public JPAUpdateClause where(EBoolean... o)
UpdateClause
where in interface UpdateClause<JPAUpdateClause>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||