Example usage for org.apache.ibatis.executor.statement RoutingStatementHandler RoutingStatementHandler

List of usage examples for org.apache.ibatis.executor.statement RoutingStatementHandler RoutingStatementHandler

Introduction

In this page you can find the example usage for org.apache.ibatis.executor.statement RoutingStatementHandler RoutingStatementHandler.

Prototype

public RoutingStatementHandler(Executor executor, MappedStatement ms, Object parameter, RowBounds rowBounds,
            ResultHandler resultHandler, BoundSql boundSql) 

Source Link

Usage

From source file:com.dmm.framework.basedb.apache.ibatis.session.Configuration.java

License:Apache License

public StatementHandler newStatementHandler(Executor executor, MappedStatement mappedStatement,
        Object parameterObject, RowBounds rowBounds, ResultHandler resultHandler, BoundSql boundSql) {
    StatementHandler statementHandler = new RoutingStatementHandler(executor, mappedStatement, parameterObject,
            rowBounds, resultHandler, boundSql);
    statementHandler = (StatementHandler) interceptorChain.pluginAll(statementHandler);
    return statementHandler;
}