public class JPAInsertClause extends java.lang.Object implements InsertClause<JPAInsertClause>
| Constructor and Description |
|---|
JPAInsertClause(javax.persistence.EntityManager em,
EntityPath<?> entity) |
JPAInsertClause(javax.persistence.EntityManager em,
EntityPath<?> entity,
JPQLTemplates templates) |
| Modifier and Type | Method and Description |
|---|---|
JPAInsertClause |
columns(Path<?>... columns) |
long |
execute() |
boolean |
isEmpty() |
JPAInsertClause |
select(SubQueryExpression<?> sq) |
<T> JPAInsertClause |
set(Path<T> path,
Expression<? extends T> expression) |
<T> JPAInsertClause |
set(Path<T> path,
T value) |
JPAInsertClause |
setLockMode(javax.persistence.LockModeType lockMode) |
<T> JPAInsertClause |
setNull(Path<T> path) |
java.lang.String |
toString() |
JPAInsertClause |
values(java.lang.Object... v) |
public JPAInsertClause(javax.persistence.EntityManager em,
EntityPath<?> entity)
public JPAInsertClause(javax.persistence.EntityManager em,
EntityPath<?> entity,
JPQLTemplates templates)
public long execute()
execute in interface DMLClause<JPAInsertClause>public JPAInsertClause setLockMode(javax.persistence.LockModeType lockMode)
public java.lang.String toString()
toString in class java.lang.Objectpublic JPAInsertClause columns(Path<?>... columns)
columns in interface InsertClause<JPAInsertClause>public JPAInsertClause select(SubQueryExpression<?> sq)
select in interface InsertClause<JPAInsertClause>public JPAInsertClause values(java.lang.Object... v)
values in interface InsertClause<JPAInsertClause>public boolean isEmpty()
isEmpty in interface StoreClause<JPAInsertClause>public <T> JPAInsertClause set(Path<T> path, T value)
set in interface StoreClause<JPAInsertClause>public <T> JPAInsertClause set(Path<T> path, Expression<? extends T> expression)
set in interface StoreClause<JPAInsertClause>public <T> JPAInsertClause setNull(Path<T> path)
setNull in interface StoreClause<JPAInsertClause>Copyright © 2007–2021 Querydsl. All rights reserved.