|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatementHandler
Statement Handler is responsible for setting and reading values from java.sql.Statement
Method Summary | |
---|---|
void |
afterClose()
Function is invoked after Connection is closed. |
void |
beforeClose()
Function is invoked before Connection is closed. |
java.lang.Object[] |
readStatement(java.sql.Statement statement,
QueryParameters params)
The purpose of this function is to read all OUT/INOUT parameters from Statement and return them as Array. |
void |
setStatement(java.sql.Statement statement,
QueryParameters params)
Sets Query input Parameters into @statement Invoked only when @statement is instance of PreparedStatement or CallableStatement |
java.util.List<QueryParameters> |
wrap(java.sql.Statement stmt)
Reads all Statement output - Generated Keys, Result sets and wraps them into List |
Method Detail |
---|
void setStatement(java.sql.Statement statement, QueryParameters params) throws java.sql.SQLException
statement
- sql Statementparams
- Query input Parameters
java.sql.SQLException
java.util.List<QueryParameters> wrap(java.sql.Statement stmt) throws java.sql.SQLException
stmt
- sql Statement
java.sql.SQLException
java.lang.Object[] readStatement(java.sql.Statement statement, QueryParameters params) throws java.sql.SQLException
statement
- sql Statementparams
- input QueryParameters
java.sql.SQLException
void beforeClose() throws java.sql.SQLException
java.sql.SQLException
void afterClose() throws java.sql.SQLException
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |