类 Expression
- java.lang.Object
-
- org.hibernate.criterion.Restrictions
-
- org.hibernate.criterion.Expression
-
@Deprecated public final class Expression extends Restrictions
已过时。UseRestrictionsinsteadFactory for Criterion objects. Deprecated!- 作者:
- Gavin King
- 另请参阅:
Restrictions
-
-
方法概要
所有方法 静态方法 具体方法 已过时的方法 修饰符和类型 方法 说明 static Criterionsql(String sql)已过时。static Criterionsql(String sql, Object[] values, Type[] types)static Criterionsql(String sql, Object value, Type type)-
从类继承的方法 org.hibernate.criterion.Restrictions
allEq, and, and, between, conjunction, conjunction, disjunction, disjunction, eq, eqOrIsNull, eqProperty, ge, geProperty, gt, gtProperty, idEq, ilike, ilike, in, in, isEmpty, isNotEmpty, isNotNull, isNull, le, leProperty, like, like, lt, ltProperty, naturalId, ne, neOrIsNotNull, neProperty, not, or, or, sizeEq, sizeGe, sizeGt, sizeLe, sizeLt, sizeNe, sqlRestriction, sqlRestriction, sqlRestriction
-
-
-
-
方法详细资料
-
sql
@Deprecated public static Criterion sql(String sql, Object[] values, Type[] types)
Apply a constraint expressed in SQL, with JDBC parameters. Any occurrences of {alias} will be replaced by the table alias.- 参数:
sql- The sqlvalues- The parameter valuestypes- The parameter types- 返回:
- Criterion
-
sql
@Deprecated public static Criterion sql(String sql, Object value, Type type)
Apply a constraint expressed in SQL, with a JDBC parameter. Any occurrences of {alias} will be replaced by the table alias.- 参数:
sql- The sqlvalue- The parameter valuetype- The parameter type- 返回:
- Criterion
-
sql
@Deprecated public static Criterion sql(String sql)
已过时。Apply a constraint expressed in SQL with no parameters. Any occurrences of {alias} will be replaced by the table alias.- 参数:
sql- The sql- 返回:
- Criterion
-
-