Search in sources :

Example 1 with OutsideSqlExecutorFactory

use of org.dbflute.outsidesql.factory.OutsideSqlExecutorFactory in project dbflute-core by dbflute.

the class BehaviorCommandInvoker method createOutsideSqlAllFacadeExecutor.

// ===================================================================================
// OutsideSql
// ==========
/**
 * @param <BEHAVIOR> The type of behavior.
 * @param tableDbName The DB name of table. (NotNull)
 * @return The new-created all facade executor of outside SQL. (NotNull)
 */
public <BEHAVIOR> OutsideSqlAllFacadeExecutor<BEHAVIOR> createOutsideSqlAllFacadeExecutor(String tableDbName) {
    final OutsideSqlExecutorFactory factory = _invokerAssistant.assistOutsideSqlExecutorFactory();
    final DBDef dbdef = _invokerAssistant.assistCurrentDBDef();
    // might be null
    final OutsideSqlOption option = _invokerAssistant.assistFirstOutsideSqlOption(tableDbName);
    return factory.createAllFacade(factory.createBasic(this, tableDbName, dbdef, option));
}
Also used : OutsideSqlExecutorFactory(org.dbflute.outsidesql.factory.OutsideSqlExecutorFactory) OutsideSqlOption(org.dbflute.outsidesql.OutsideSqlOption) DBDef(org.dbflute.dbway.DBDef)

Aggregations

DBDef (org.dbflute.dbway.DBDef)1 OutsideSqlOption (org.dbflute.outsidesql.OutsideSqlOption)1 OutsideSqlExecutorFactory (org.dbflute.outsidesql.factory.OutsideSqlExecutorFactory)1