Search in sources :

Example 1 with ShortCharHandlingMode

use of org.dbflute.jdbc.ShortCharHandlingMode in project dbflute-core by dbflute.

the class AbstractConditionQuery method hSC.

// ===================================================================================
// Short Character
// ===============
// handleShortChar()
protected String hSC(String columnName, String value, Integer size, String modeCode) {
    final ShortCharHandlingMode mode = ShortCharHandlingMode.codeOf(modeCode);
    if (mode == null) {
        String msg = "The mode was not found by the code: ";
        msg = msg + " columnName=" + columnName + " modeCode=" + modeCode;
        throw new IllegalStateException(msg);
    }
    return FunCustodial.handleShortChar(columnName, value, size, mode);
}
Also used : ShortCharHandlingMode(org.dbflute.jdbc.ShortCharHandlingMode)

Aggregations

ShortCharHandlingMode (org.dbflute.jdbc.ShortCharHandlingMode)1