|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SqlExecutor
| Method Summary | |
|---|---|
SqlBatchUpdateQuery |
batchUpdate(List<String> sqls)
Issue multiple SQL updates on a single JDBC Statement using batching. |
SqlBatchUpdateQuery |
batchUpdate(String sql,
BatchPreparedStatementSetter psc)
Issue multiple SQL updates on a single JDBC Statement using batching. |
SqlBatchUpdateQuery |
batchUpdate(String sql,
List<Object[]> args)
Issue multiple SQL updates on a single JDBC Statement using batching. |
SqlExecuteQuery |
executeQuery(String sql)
Issue a single SQL execute, typically a DDL statement. |
SqlFindQuery |
findQuery(String sql,
Object... args)
Perform a single SQL select operation. |
SqlUpdateQuery |
updateQuery(String sql,
GeneratedKeyReader generatedKeyReader,
Object... args)
Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters. |
SqlUpdateQuery |
updateQuery(String sql,
Object... args)
Perform a single SQL update operation (such as an insert, update or delete statement). |
| Method Detail |
|---|
SqlFindQuery findQuery(String sql,
Object... args)
sql - static SQL to executeargs - arguments to bind to the query
SqlExecuteQuery executeQuery(String sql)
throws OrmException
sql - static SQL to execute
OrmException
SqlUpdateQuery updateQuery(String sql,
Object... args)
throws OrmException
sql - static SQL to executeargs - arguments to bind to the query
OrmException
SqlUpdateQuery updateQuery(String sql,
GeneratedKeyReader generatedKeyReader,
Object... args)
throws OrmException
psc - object that provides SQL and any necessary parametersgeneratedKeyReader - IGeneratedKeyReader to read the generated key
OrmException
SqlBatchUpdateQuery batchUpdate(List<String> sqls)
throws OrmException
sql - defining a List of SQL statements that will be executed.
OrmException
SqlBatchUpdateQuery batchUpdate(String sql,
List<Object[]> args)
throws OrmException
sql - defining a List of SQL statements that will be executed.args - defining a List of Object arrays to bind to the query.
OrmException
SqlBatchUpdateQuery batchUpdate(String sql,
BatchPreparedStatementSetter psc)
throws OrmException
sql - defining a List of SQL statements that will be executed.psc - the creator to bind values on the PreparedStatement
OrmException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||