public interface DbConnection extends Connection
Connection
adding connector's specific functionalityTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
Modifier and Type | Method and Description |
---|---|
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
|
abort, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, isValid, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap
isWrapperFor, unwrap
StatementResultIteratorFactory getStatementResultIteratorFactory(ResultSetHandler resultSetHandler)
StatementResultIteratorFactory
used to create
the StatementResultIterator
for this connection.resultSetHandler
- used to process resultSets created from this connectionStatementResultIterator
for this connection.Map<Integer,DbType> getParamTypes(QueryTemplate queryTemplate) throws SQLException
queryTemplate
- query template that needing parameter resolutionSQLException
- when there are error processing the queryTransactionalAction getTransactionalAction()
TransactionalAction
used to create this connectionvoid release()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.