|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mysema.query.sql.dml.SQLInsertClause
public class SQLInsertClause
SQLInsertClause defines an INSERT INTO clause
| Constructor Summary | |
|---|---|
SQLInsertClause(Connection connection,
SQLTemplates templates,
PEntity<?> entity)
|
|
| Method Summary | |
|---|---|
protected void |
close(PreparedStatement stmt)
|
SQLInsertClause |
columns(Path<?>... columns)
Define the columns of to be populated |
long |
execute()
Execute the insert clause and return the amount of inserted rows/items |
SQLInsertClause |
select(SubQuery<?> subQuery)
Define the populate via subquery |
SQLInsertClause |
values(Object... v)
Define the value bindings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLInsertClause(Connection connection,
SQLTemplates templates,
PEntity<?> entity)
| Method Detail |
|---|
protected void close(PreparedStatement stmt)
public SQLInsertClause columns(Path<?>... columns)
InsertClause
columns in interface InsertClause<SQLInsertClause>public long execute()
InsertClause
execute in interface InsertClause<SQLInsertClause>public SQLInsertClause select(SubQuery<?> subQuery)
InsertClause
select in interface InsertClause<SQLInsertClause>public SQLInsertClause values(Object... v)
InsertClause
values in interface InsertClause<SQLInsertClause>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||