|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JdbcSqlExecutor
Implementations of this interface must permit to execute SQL queries into processes (transactional or not) without that the caller has to handle the connection to the database. It is possible to call this provided methods into transactions that handles JPA operations too.
Method Summary | ||
---|---|---|
long |
executeModify(JdbcSqlQuery... modifySqlQueries)
Modify query executor. |
|
long |
executeModify(List<JdbcSqlQuery> modifySqlQueries)
Modify query executor. |
|
|
select(JdbcSqlQuery selectQuery,
SelectResultRowProcess<ROW_ENTITY> process)
Select query executor. |
|
long |
selectCount(JdbcSqlQuery selectCountQueryBuilder)
Select count SQL query executor. |
Method Detail |
---|
long selectCount(JdbcSqlQuery selectCountQueryBuilder) throws SQLException
selectCountQueryBuilder
- the select count SQL query.
SQLException
<ROW_ENTITY> List<ROW_ENTITY> select(JdbcSqlQuery selectQuery, SelectResultRowProcess<ROW_ENTITY> process) throws SQLException
selectQuery
- the select SQL query.process
- the row processor.
SQLException
long executeModify(JdbcSqlQuery... modifySqlQueries) throws SQLException
modifySqlQueries
- the list of SQL query to execute. An SQL query is represented by a
string (SQL) and an Object (parameters).
SQLException
long executeModify(List<JdbcSqlQuery> modifySqlQueries) throws SQLException
modifySqlQueries
- the list of SQL query to execute. An SQL query is represented by a
string (SQL) and an Object (parameters).
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |