Package com.querydsl.jpa.impl
Class JPAInsertClause
java.lang.Object
com.querydsl.jpa.impl.JPAInsertClause
- All Implemented Interfaces:
DMLClause<JPAInsertClause>,InsertClause<JPAInsertClause>,StoreClause<JPAInsertClause>
UpdateClause implementation for JPA
- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionJPAInsertClause(javax.persistence.EntityManager em, EntityPath<?> entity) JPAInsertClause(javax.persistence.EntityManager em, EntityPath<?> entity, JPQLTemplates templates) -
Method Summary
Modifier and TypeMethodDescriptionlongexecute()booleanisEmpty()select(SubQueryExpression<?> sq) <T> JPAInsertClauseset(Path<T> path, Expression<? extends T> expression) <T> JPAInsertClausesetLockMode(javax.persistence.LockModeType lockMode) <T> JPAInsertClausetoString()
-
Constructor Details
-
JPAInsertClause
-
JPAInsertClause
public JPAInsertClause(javax.persistence.EntityManager em, EntityPath<?> entity, JPQLTemplates templates)
-
-
Method Details
-
execute
public long execute()- Specified by:
executein interfaceDMLClause<JPAInsertClause>
-
setLockMode
-
toString
-
columns
- Specified by:
columnsin interfaceInsertClause<JPAInsertClause>
-
select
- Specified by:
selectin interfaceInsertClause<JPAInsertClause>
-
values
- Specified by:
valuesin interfaceInsertClause<JPAInsertClause>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceStoreClause<JPAInsertClause>
-
set
- Specified by:
setin interfaceStoreClause<JPAInsertClause>
-
set
- Specified by:
setin interfaceStoreClause<JPAInsertClause>
-
setNull
- Specified by:
setNullin interfaceStoreClause<JPAInsertClause>
-