Package com.querydsl.jpa.impl
Class JPAUpdateClause
java.lang.Object
com.querydsl.jpa.impl.JPAUpdateClause
- All Implemented Interfaces:
DMLClause<JPAUpdateClause>,StoreClause<JPAUpdateClause>,UpdateClause<JPAUpdateClause>,FilteredClause<JPAUpdateClause>
UpdateClause implementation for JPA
- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionJPAUpdateClause(javax.persistence.EntityManager em, EntityPath<?> entity) JPAUpdateClause(javax.persistence.EntityManager em, EntityPath<?> entity, JPQLTemplates templates) -
Method Summary
Modifier and TypeMethodDescriptionlongexecute()booleanisEmpty()<T> JPAUpdateClauseset(Path<T> path, Expression<? extends T> expression) <T> JPAUpdateClausesetLockMode(javax.persistence.LockModeType lockMode) <T> JPAUpdateClausetoString()
-
Constructor Details
-
JPAUpdateClause
-
JPAUpdateClause
public JPAUpdateClause(javax.persistence.EntityManager em, EntityPath<?> entity, JPQLTemplates templates)
-
-
Method Details
-
execute
public long execute()- Specified by:
executein interfaceDMLClause<JPAUpdateClause>
-
set
- Specified by:
setin interfaceStoreClause<JPAUpdateClause>
-
set
- Specified by:
setin interfaceStoreClause<JPAUpdateClause>
-
setNull
- Specified by:
setNullin interfaceStoreClause<JPAUpdateClause>
-
set
- Specified by:
setin interfaceUpdateClause<JPAUpdateClause>
-
where
- Specified by:
wherein interfaceFilteredClause<JPAUpdateClause>
-
setLockMode
-
toString
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceStoreClause<JPAUpdateClause>
-