Search in sources :

Example 11 with ResourceContext

use of org.dbflute.bhv.core.context.ResourceContext in project dbflute-core by dbflute.

the class TnValueTypesTest method setUp.

// ===================================================================================
// Settings
// ========
@Override
protected void setUp() throws Exception {
    super.setUp();
    ResourceContext context = new ResourceContext();
    context.setCurrentDBDef(_currentDBDef);
    ResourceContext.setResourceContextOnThread(context);
}
Also used : ResourceContext(org.dbflute.bhv.core.context.ResourceContext)

Aggregations

ResourceContext (org.dbflute.bhv.core.context.ResourceContext)11 Entity (org.dbflute.Entity)1 MockBehaviorCommand (org.dbflute.mock.MockBehaviorCommand)1 MockConditionBean (org.dbflute.mock.MockConditionBean)1 MockOutsideSqlContext (org.dbflute.mock.MockOutsideSqlContext)1