|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DbConnection
Wraps a Connection adding connector's specific functionality
| Field Summary |
|---|
| Fields inherited from interface java.sql.Connection |
|---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Method Summary | |
|---|---|
Map<Integer,DbType> |
getParamTypes(QueryTemplate queryTemplate)
Determines actual parameter types for the parameters defined in a query template. |
StatementResultIteratorFactory |
getStatementResultIteratorFactory(ResultSetHandler resultSetHandler)
Returns the StatementResultIteratorFactory used to create
the StatementResultIterator for this connection. |
TransactionalAction |
getTransactionalAction()
Indicates which TransactionalAction used to create this connection |
void |
release()
Indicates that the connection is not used anymore |
| Methods inherited from interface java.sql.Wrapper |
|---|
isWrapperFor, unwrap |
| Method Detail |
|---|
StatementResultIteratorFactory getStatementResultIteratorFactory(ResultSetHandler resultSetHandler)
StatementResultIteratorFactory used to create
the StatementResultIterator for this connection.
resultSetHandler - used to process resultSets created from this connection
StatementResultIterator for this connection.
Map<Integer,DbType> getParamTypes(QueryTemplate queryTemplate)
throws SQLException
queryTemplate - query template that needing parameter resolution
SQLException - when there are error processing the queryTransactionalAction getTransactionalAction()
TransactionalAction used to create this connection
void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||