|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.jpattern.orm.query.sql.SqlBatchUpdate
public class SqlBatchUpdate
| Constructor Summary | |
|---|---|
SqlBatchUpdate(ISessionSqlPerformer session,
String sql,
List<Object[]> args)
|
|
| Method Summary | |
|---|---|
void |
execute()
execute the sql statement and doesn't return any information about the rows modified. |
int |
getQueryTimeout()
Return the query timeout for the query. |
void |
setQueryTimeout(int queryTimeout)
Set the query timeout for the query. |
int[] |
update()
Execute the statement and return an array of the number of rows affected by each statement. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqlBatchUpdate(ISessionSqlPerformer session,
String sql,
List<Object[]> args)
| Method Detail |
|---|
public void execute()
ISqlExecute
execute in interface ISqlExecutepublic void setQueryTimeout(int queryTimeout)
ISqlExecute
setQueryTimeout in interface ISqlExecutepublic int getQueryTimeout()
ISqlExecute
getQueryTimeout in interface ISqlExecutepublic int[] update()
ISqlBatchUpdate
update in interface ISqlBatchUpdate
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||