|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISqlExecutor
| Method Summary | |
|---|---|
ISqlBatchUpdate |
batchUpdate(List<String> sqls)
Issue multiple SQL updates on a single JDBC Statement using batching. |
ISqlBatchUpdate |
batchUpdate(String sql,
IPreparedStatementCreator psc)
Issue multiple SQL updates on a single JDBC Statement using batching. |
ISqlBatchUpdate |
batchUpdate(String sql,
List<Object[]> args)
Issue multiple SQL updates on a single JDBC Statement using batching. |
ISqlExecute |
execute(String sql)
Issue a single SQL execute, typically a DDL statement. |
ISqlQuery |
query(String sql,
Object... args)
Perform a single SQL select operation. |
ISqlUpdate |
update(String sql,
IGeneratedKeyReader generatedKeyReader,
Object... args)
Issue an update statement using a PreparedStatementCreator to provide SQL and any required parameters. |
ISqlUpdate |
update(String sql,
Object... args)
Perform a single SQL update operation (such as an insert, update or delete statement). |
| Method Detail |
|---|
ISqlQuery query(String sql,
Object... args)
sql - static SQL to executeargs - arguments to bind to the query
ISqlExecute execute(String sql)
throws OrmException
sql - static SQL to execute
OrmException
ISqlUpdate update(String sql,
Object... args)
throws OrmException
sql - static SQL to executeargs - arguments to bind to the query
OrmException
ISqlUpdate update(String sql,
IGeneratedKeyReader generatedKeyReader,
Object... args)
throws OrmException
psc - object that provides SQL and any necessary parametersgeneratedKeyReader - IGeneratedKeyReader to read the generated key
OrmException
ISqlBatchUpdate batchUpdate(List<String> sqls)
throws OrmException
sql - defining a List of SQL statements that will be executed.
OrmException
ISqlBatchUpdate 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
ISqlBatchUpdate batchUpdate(String sql,
IPreparedStatementCreator 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 | |||||||||