|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractNamedInputHandler
, but accepts List of Maps/BeansAsyncQueryRunnerService
implementationQueryInputProcessor
implementation.PreparedStatement
and CallableStatement
).QueryRunner.call(org.midao.jdbc.core.handlers.input.InputHandler, org.midao.jdbc.core.handlers.output.OutputHandler)
Used when needed to return Procedure/Function return and OUT parameters at onceStatement
and ResultSet
Connection
, avoid closing if null.
ResultSet
, avoid closing if null.
Statement
, avoid closing if null.
Connection
, avoid closing if null and hide
any SQLExceptions that occur.
Connection
, Statement
and
ResultSet
.
ResultSet
, avoid closing if null and hide any
SQLExceptions that occur.
Statement
, avoid closing if null and hide
any SQLExceptions that occur.
QueryRunnerService.setTransactionManualMode(boolean)
set as true
QueryRunnerService.setTransactionManualMode(boolean)
set as true
TransactionHandler.setManualMode(boolean)
set as true
TransactionHandler.setManualMode(boolean)
set as true
Connection
then closes it, avoid closing if null.
Connection
then closes it, avoid closing if null
and hide any SQLExceptions that occur.
MetadataHandler
to read Stored Procedure/Function parameters and creates new
QueryInputHandler
instance with parameter values from @inputHandler
TypeHandlerUtils.DEFAULT_BUFFER_SIZE
to define buffer size
TypeHandlerUtils.DEFAULT_BUFFER_SIZE
to define buffer size
Array
instance.
Blob
instance.
Clob
instance.
DataSource
implementation
DataSource
implementation
In case this function won't work - use MidaoFactory.createDataSource(java.util.Properties)
DataSource
implementation
In case this function won't work - use MidaoFactory.createDataSource(java.util.Properties)
DataSource
implementation
In case this function won't work - use MidaoFactory.createDataSource(java.util.Properties)
DataSource
implementation
In case this function won't work - use MidaoFactory.createDataSource(java.util.Properties)
SQLXML
instance.
Statement
instance
AsyncQueryRunnerService
instance
ExceptionHandler
implementation
MetadataHandler
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultMetadataHandler(Class)
MetadataHandler
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultMetadataHandler(Class)
Overrider
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultOverrider(Class)
QueryInputProcessor
implementation
QueryOutputProcessor
implementation
StatementHandler
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultStatementHandler(Class)
TransactionHandler
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultTransactionHandler(Class)
TransactionHandler
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultTransactionHandler(Class)
TypeHandler
implementation instance based on default statement handler
implementation class set via MidaoConfig.setDefaultTypeHandler(Class)
MetadataHandler
implementation assigned to this QueryRunnerService
instance
Overrider
instance assigned to this QueryRunnerService
instance
InputHandler
and returns array of parameter values
Used during batch invocation
QueryParameters
Used during batch invocation
QueryRunnerService
instance
QueryRunnerService
instance
QueryRunnerService
instance
QueryRunnerService
instance
QueryRunnerService
instance
QueryRunnerService
instance
InputHandler
and checks if they have one query string.
StatementHandler
implementation assigned to this QueryRunnerService
instance
TransactionHandler
implementation assigned to this QueryRunnerService
instance
TypeHandler
implementation assigned to this QueryRunnerService
instance
Connection
setter functions
This function provides flexibility which required to use Connection
with different Java versions: 5/6 etc.
QueryInputProcessor
should use cache
LazyStatementHandler
and allows lazy
loading of data from it.PreparedStatement
and CallableStatement
).Types
implementation to avoid dependency
on JDBC version and allow compile under both Java 5 and 6.SQLException
instance.
Class.isAssignableFrom(Class)
is not used as Class might not be available
and String representation can only be used
Class.isAssignableFrom(Class)
is not used as Interface might not be available
and String representation can only be used
QueryRunnerService
,
StatementHandler
and TypeHandler
CallableStatement
instance
PreparedStatement
instance
TypeHandler.processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
Allows processing of the List
TypeHandler.processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
Allows processing of the List
TypeHandler.processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
Allows processing of the List
TypeHandler.processInput(java.sql.Statement, org.midao.jdbc.core.handlers.model.QueryParameters)
Allows processing of the List
QueryRunnerService
implementationQueryRunnerService.setTransactionManualMode(boolean)
set as true
QueryRunnerService.setTransactionManualMode(boolean)
set as true
TransactionHandler.setManualMode(boolean)
set as true
TransactionHandler.setManualMode(boolean)
set as true
Connection
then closes it,
avoid closing if null.
Connection
then closes it,
avoid closing if null and hide any SQLExceptions that occur.
ExceptionHandler
implementation
MetadataHandler
implementation
Overrider
implementation
QueryInputProcessor
implementation
QueryOutputProcessor
implementation
StatementHandler
implementation
TransactionHandler
implementation
TypeHandler
implementation
MetadataHandler
implementation to this QueryRunnerService
instance
Please be aware that input MetadataHandler
should be share same Overrider
instance:
Example: QueryRunner.setMetadataHandler(new BaseMetadataHandler(queryRunner.getOverrider()));
QueryInputProcessor
should use cache
StatementHandler
implementation to this QueryRunnerService
instance
Please be aware that input StatementHandler
should be share same Overrider
instance:
Example: QueryRunner.setStatementHandler(new BaseStatementHandler(queryRunner.getOverrider()));
TransactionHandler
implementation to this QueryRunnerService
instance
Please be aware that input TransactionHandler
should be share same Overrider
instance:
Example: QueryRunner.setTransactionHandler(new BaseTransactionHandler(queryRunner.getOverrider()));
TypeHandler
implementation to this QueryRunnerService
instance
Please be aware that input TypeHandler
should be share same Overrider
instance:
Example: QueryRunner.setTypeHandler(new BaseTypeHandler(queryRunner.getOverrider()));
BeanInputHandler
with the difference that it uses SpringQueryInputProcessor
by default.BeanListInputHandler
with the difference that it uses SpringQueryInputProcessor
by default.MapInputHandler
with the difference that it uses SpringQueryInputProcessor
by default.MapListInputHandler
with the difference that it uses SpringQueryInputProcessor
by default.BaseMetadataHandler
QueryParametersLazyList.toArray()
.
QueryParametersLazyList.toArrayCached()
.
Reader
and converts it contents into String
AbstractNamedInputHandler.updateInput(org.midao.jdbc.core.handlers.model.QueryParameters)
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |