|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jpattern.orm.query.sql.PlainSqlExecutor
public class PlainSqlExecutor
| Constructor Summary | |
|---|---|
PlainSqlExecutor(SessionSqlPerformer session)
|
|
| 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). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainSqlExecutor(SessionSqlPerformer session)
| Method Detail |
|---|
public SqlFindQuery findQuery(String sql,
Object... args)
SqlExecutor
findQuery in interface SqlExecutorsql - static SQL to executeargs - arguments to bind to the query
public SqlExecuteQuery executeQuery(String sql)
throws OrmException
SqlExecutor
executeQuery in interface SqlExecutorsql - static SQL to execute
OrmException
public SqlUpdateQuery updateQuery(String sql,
Object... args)
throws OrmException
SqlExecutor
updateQuery in interface SqlExecutorsql - static SQL to executeargs - arguments to bind to the query
OrmException
public SqlUpdateQuery updateQuery(String sql,
GeneratedKeyReader generatedKeyReader,
Object... args)
throws OrmException
SqlExecutor
updateQuery in interface SqlExecutorgeneratedKeyReader - IGeneratedKeyReader to read the generated key
OrmException
public SqlBatchUpdateQuery batchUpdate(List<String> sqls)
throws OrmException
SqlExecutor
batchUpdate in interface SqlExecutorOrmException
public SqlBatchUpdateQuery batchUpdate(String sql,
List<Object[]> args)
throws OrmException
SqlExecutor
batchUpdate in interface SqlExecutorsql - defining a List of SQL statements that will be executed.args - defining a List of Object arrays to bind to the query.
OrmException
public SqlBatchUpdateQuery batchUpdate(String sql,
BatchPreparedStatementSetter psc)
throws OrmException
SqlExecutor
batchUpdate in interface SqlExecutorsql - 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 | |||||||||