.
| Method from org.hibernate.criterion.Expression Detail: |
public static Criterion sql(String sql) {
return new SQLCriterion(sql, ArrayHelper.EMPTY_OBJECT_ARRAY, ArrayHelper.EMPTY_TYPE_ARRAY);
} Deprecated! use - org.hibernate.criterion.Restrictions#sqlRestriction(String)
Deprecated!Apply a constraint expressed in SQL. Any occurrences of {alias}
will be replaced by the table alias. |
public static Criterion sql(String sql,
Object[] values,
Type[] types) {
return new SQLCriterion(sql, values, types);
} Deprecated! use - org.hibernate.criterion.Restrictions#sqlRestriction(String, Object[], Type[])
Deprecated!Apply a constraint expressed in SQL, with the given JDBC
parameters. Any occurrences of {alias} will be
replaced by the table alias. |
public static Criterion sql(String sql,
Object value,
Type type) {
return new SQLCriterion(sql, new Object[] { value }, new Type[] { type } );
} Deprecated! use - org.hibernate.criterion.Restrictions#sqlRestriction(String, Object, Type)
Deprecated!Apply a constraint expressed in SQL, with the given JDBC
parameter. Any occurrences of {alias} will be replaced
by the table alias. |