Search in sources :

Example 6 with DBDef

use of org.dbflute.dbway.DBDef 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)6 File (java.io.File)1 DfSqlFileRunnerExecute (org.dbflute.helper.jdbc.sqlfile.DfSqlFileRunnerExecute)1 ValueType (org.dbflute.jdbc.ValueType)1 DfOutsideSqlChecker (org.dbflute.logic.outsidesqltest.DfOutsideSqlChecker)1 OutsideSqlOption (org.dbflute.outsidesql.OutsideSqlOption)1 OutsideSqlExecutorFactory (org.dbflute.outsidesql.factory.OutsideSqlExecutorFactory)1 DfOutsideSqlProperties (org.dbflute.properties.DfOutsideSqlProperties)1 DfSpecifiedSqlFile (org.dbflute.task.bs.assistant.DfSpecifiedSqlFile)1 ScopeInfo (org.dbflute.util.Srl.ScopeInfo)1