Java 类org.hibernate.sql.CaseFragment 实例源码

项目:lams    文件:JoinedSubclassEntityPersister.java   
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;
}
项目:cacheonix-core    文件:JoinedSubclassEntityPersister.java   
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;
}
项目:lams    文件:DerbyDialect.java   
@Override
public CaseFragment createCaseFragment() {
    return new DerbyCaseFragment();
}
项目:lams    文件:SAPDBDialect.java   
@Override
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:lams    文件:OracleDialect.java   
@Override
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:lams    文件:RDMSOS2200Dialect.java   
@Override
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:lams    文件:MckoiDialect.java   
@Override
public CaseFragment createCaseFragment() {
    return new MckoiCaseFragment();
}
项目:lams    文件:Oracle9iDialect.java   
@Override
public CaseFragment createCaseFragment() {
    // Oracle did add support for ANSI CASE statements in 9i
    return new ANSICaseFragment();
}
项目:gemfirexd-oss    文件:GemFireXDDialectBase.java   
@Override
public CaseFragment createCaseFragment() {
  return new DerbyCaseFragment();
}
项目:cacheonix-core    文件:DerbyDialect.java   
/**
 * Return the case statement modified for Cloudscape.
 */
public CaseFragment createCaseFragment() {
    return new DerbyCaseFragment();
}
项目:cacheonix-core    文件:SAPDBDialect.java   
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:cacheonix-core    文件:OracleDialect.java   
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:cacheonix-core    文件:RDMSOS2200Dialect.java   
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:cacheonix-core    文件:MckoiDialect.java   
public CaseFragment createCaseFragment() {
    return new MckoiCaseFragment();
}
项目:cacheonix-core    文件:Oracle9iDialect.java   
public CaseFragment createCaseFragment() {
    // Oracle did add support for ANSI CASE statements in 9i
    return new ANSICaseFragment();
}
项目:gemfirexd-oss    文件:GemFireXDDialectBase.java   
@Override
public CaseFragment createCaseFragment() {
  return new DerbyCaseFragment();
}
项目:springfield    文件:AltibaseDialect.java   
public CaseFragment createCaseFragment() {
    return new DecodeCaseFragment();
}
项目:org.fastnate    文件:AllowMissingIdentitySupportDialect.java   
@Override
public CaseFragment createCaseFragment() {
    return this.wrapped.createCaseFragment();
}
项目:lams    文件:Oracle8iDialect.java   
/**
 * 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();
}
项目:lams    文件:Dialect.java   
/**
 * 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();
}
项目:cacheonix-core    文件:Oracle8iDialect.java   
/**
 * 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();
}
项目:cacheonix-core    文件:Dialect.java   
/**
 * 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();
}