|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.sql.dml.SQLUpdateClause
public class SQLUpdateClause
SQLUpdateClause defines a UPDATE clause
Constructor Summary | |
---|---|
SQLUpdateClause(Connection connection,
SQLTemplates templates,
PEntity<?> entity)
|
Method Summary | ||
---|---|---|
protected void |
close(PreparedStatement stmt)
|
|
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 |
|
SQLUpdateClause |
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 SQLUpdateClause(Connection connection, SQLTemplates templates, PEntity<?> entity)
Method Detail |
---|
public long execute()
UpdateClause
execute
in interface UpdateClause<SQLUpdateClause>
protected void close(PreparedStatement stmt)
public <T> SQLUpdateClause set(Path<T> path, T value)
UpdateClause
set
in interface UpdateClause<SQLUpdateClause>
path
- path to be updatedvalue
- value to set
public SQLUpdateClause where(EBoolean... o)
UpdateClause
where
in interface UpdateClause<SQLUpdateClause>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |