private CaseFragment discriminatorFragment(String alias) { CaseFragment cases = getFactory().getDialect().createCaseFragment(); for ( int i = 0; i < discriminatorValues.length; i++ ) { cases.addWhenColumnNotNull( generateTableAlias( alias, notNullColumnTableNumbers[i] ), notNullColumnNames[i], discriminatorValues[i] ); } return cases; }
private CaseFragment discriminatorFragment(String alias) { CaseFragment cases = getFactory().getDialect().createCaseFragment(); for ( int i=0; i<discriminatorValues.length; i++ ) { cases.addWhenColumnNotNull( generateTableAlias( alias, notNullColumnTableNumbers[i] ), notNullColumnNames[i], discriminatorValues[i] ); } return cases; }
@Override public CaseFragment createCaseFragment() { return new DerbyCaseFragment(); }
@Override public CaseFragment createCaseFragment() { return new DecodeCaseFragment(); }
@Override public CaseFragment createCaseFragment() { return new MckoiCaseFragment(); }
@Override public CaseFragment createCaseFragment() { // Oracle did add support for ANSI CASE statements in 9i return new ANSICaseFragment(); }
/** * Return the case statement modified for Cloudscape. */ public CaseFragment createCaseFragment() { return new DerbyCaseFragment(); }
public CaseFragment createCaseFragment() { return new DecodeCaseFragment(); }
public CaseFragment createCaseFragment() { return new MckoiCaseFragment(); }
public CaseFragment createCaseFragment() { // Oracle did add support for ANSI CASE statements in 9i return new ANSICaseFragment(); }
@Override public CaseFragment createCaseFragment() { return this.wrapped.createCaseFragment(); }
/** * Map case support to the Oracle DECODE function. Oracle did not * add support for CASE until 9i. * <p/> * {@inheritDoc} */ @Override public CaseFragment createCaseFragment() { return new DecodeCaseFragment(); }
/** * Create a {@link org.hibernate.sql.CaseFragment} strategy responsible * for handling this dialect's variations in how CASE statements are * handled. * * @return This dialect's {@link org.hibernate.sql.CaseFragment} strategy. */ public CaseFragment createCaseFragment() { return new ANSICaseFragment(); }
/** * Map case support to the Oracle DECODE function. Oracle did not * add support for CASE until 9i. * * @return The oracle CASE -> DECODE fragment */ public CaseFragment createCaseFragment() { return new DecodeCaseFragment(); }