SQLCriterionpublic class SQLCriterion extends Object implements CriterionA SQL fragment. The string {alias} will be replaced by the
alias of the root entity. |
Fields Summary |
---|
private final String | sql | private final org.hibernate.engine.TypedValue[] | typedValues |
Constructors Summary |
---|
protected SQLCriterion(String sql, Object[] values, org.hibernate.type.Type[] types)
this.sql = sql;
typedValues = new TypedValue[values.length];
for ( int i=0; i<typedValues.length; i++ ) {
typedValues[i] = new TypedValue( types[i], values[i], EntityMode.POJO );
}
|
|