|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatementFactory
Creates JDBC statements for a given connection
| Method Summary | |
|---|---|
Statement |
create(DbConnection connection,
QueryTemplate queryTemplate)
Creates a JDBC statement |
Statement |
create(DbConnection connection,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
Creates a JDBC statement with auto generated keys processing |
| Method Detail |
|---|
Statement create(DbConnection connection,
QueryTemplate queryTemplate)
throws SQLException
connection - connection uses to create the statementqueryTemplate - query template that will be execute on the statement
SQLException - if a database access error occurs or this method is called on a closed connection
Statement create(DbConnection connection,
QueryTemplate queryTemplate,
AutoGeneratedKeyStrategy autoGeneratedKeyStrategy)
throws SQLException
connection - connection uses to create the statementqueryTemplate - query template that will be execute on the statementautoGeneratedKeyStrategy - strategy to process auto generated keys
SQLException - if a database access error occurs or this method is called on a closed connection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||