use of org.dbflute.outsidesql.OutsideSqlOption in project dbflute-core by dbflute.
the class OutsideSqlCallCommand method generateSpecifiedOutsideSqlUniqueKey.
protected String generateSpecifiedOutsideSqlUniqueKey() {
final String methodName = getCommandName();
final String path = _outsideSqlPath;
final Object pmb = _parameterBean;
final OutsideSqlOption option = _outsideSqlOption;
return OutsideSqlContext.generateSpecifiedOutsideSqlUniqueKey(methodName, path, pmb, option, null);
}
use of org.dbflute.outsidesql.OutsideSqlOption in project dbflute-core by dbflute.
the class AbstractOutsideSqlCommand method setupOutsideSqlContextProperty.
protected void setupOutsideSqlContextProperty(OutsideSqlContext context) {
final String path = _outsideSqlPath;
final Object pmb = _parameterBean;
final OutsideSqlOption option = _outsideSqlOption;
context.setOutsideSqlPath(path);
context.setParameterBean(pmb);
context.setResultType(getResultType());
context.setMethodName(getCommandName());
context.setStatementConfig(option.getStatementConfig());
context.setTableDbName(option.getTableDbName());
context.setOffsetByCursorForcedly(option.isAutoPaging());
context.setLimitByCursorForcedly(option.isAutoPaging());
context.setOutsideSqlFilter(_outsideSqlFilter);
context.setRemoveBlockComment(option.isRemoveBlockComment());
context.setRemoveLineComment(option.isRemoveLineComment());
context.setFormatSql(option.isFormatSql());
context.setNonSpecifiedColumnAccessAllowed(option.isNonSpecifiedColumnAccessAllowed());
context.setInternalDebug(ResourceContext.isInternalDebug());
context.setupBehaviorQueryPathIfNeeds();
}
Aggregations