Search in sources :

Example 1 with DBWay

use of org.dbflute.dbway.DBWay in project dbflute-core by dbflute.

the class MelodicBoundValueTracer method adjustLikeSearchDBWay.

@Override
protected void adjustLikeSearchDBWay(FilteringBindOption option) {
    if (option == null) {
        return;
    }
    final DBWay dbway = ResourceContext.currentDBDef().dbway();
    if (option instanceof LikeSearchOption) {
        ((LikeSearchOption) option).acceptOriginalWildCardList(dbway.getOriginalWildCardList());
    }
    option.acceptStringConnector(dbway.getStringConnector());
}
Also used : LikeSearchOption(org.dbflute.cbean.coption.LikeSearchOption) DBWay(org.dbflute.dbway.DBWay)

Example 2 with DBWay

use of org.dbflute.dbway.DBWay in project dbflute-core by dbflute.

the class AbstractSqlClause method adjustLikeSearchDBWay.

// [DBFlute-0.9.8.4]
// ===================================================================================
// LikeSearch Adjustment
// =====================
/**
 * {@inheritDoc}
 */
public void adjustLikeSearchDBWay(LikeSearchOption option) {
    final DBWay dbway = dbway();
    option.acceptOriginalWildCardList(dbway.getOriginalWildCardList());
    option.acceptStringConnector(dbway.getStringConnector());
    // come together!
    option.acceptGearedCipherManager(getGearedCipherManager());
}
Also used : DBWay(org.dbflute.dbway.DBWay)

Aggregations

DBWay (org.dbflute.dbway.DBWay)2 LikeSearchOption (org.dbflute.cbean.coption.LikeSearchOption)1