|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TypeHandler
Automatically converts Java types into JDBC SQL Types
Method Summary | |
---|---|
void |
afterExecute(java.sql.Statement stmt,
QueryParameters processedInput,
QueryParameters params)
Reads @processedInput and closes all JDBC SQL Type to prevent any memory leaks. |
QueryParameters |
processInput(java.sql.Statement stmt,
QueryParameters params)
Reads @params and creates new QueryParameters with converted Java types into JDBC SQL Types |
java.util.List<QueryParameters> |
processOutput(java.sql.Statement stmt,
java.util.List<QueryParameters> paramsList)
Works the same as processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
Allows processing of the List |
QueryParameters |
processOutput(java.sql.Statement stmt,
QueryParameters params)
Processes QueryParameters returned after Statement execution and converts any JDBC SQL Type into Java Type |
Method Detail |
---|
QueryParameters processInput(java.sql.Statement stmt, QueryParameters params) throws java.sql.SQLException
stmt
- JDBC Statementparams
- QueryParameters which are read
java.sql.SQLException
void afterExecute(java.sql.Statement stmt, QueryParameters processedInput, QueryParameters params) throws java.sql.SQLException
stmt
- JDBC StatementprocessedInput
- values returned from processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
params
- original values
java.sql.SQLException
QueryParameters processOutput(java.sql.Statement stmt, QueryParameters params) throws java.sql.SQLException
stmt
- JDBC Statementparams
- QueryParameters returned after Statement execution
java.sql.SQLException
java.util.List<QueryParameters> processOutput(java.sql.Statement stmt, java.util.List<QueryParameters> paramsList) throws java.sql.SQLException
processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
Allows processing of the List
stmt
- JDBC StatementparamsList
- QueryParameters List returned after Statement execution
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |