类的使用
org.hibernate.criterion.MatchMode
-
使用MatchMode的程序包 程序包 说明 org.hibernate.criterion A framework for defining restriction criteria and order criteria. -
-
org.hibernate.criterion中MatchMode的使用
返回MatchMode的org.hibernate.criterion中的方法 修饰符和类型 方法 说明 static MatchModeMatchMode. valueOf(String name)返回带有指定名称的该类型的枚举常量。static MatchMode[]MatchMode. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。参数类型为MatchMode的org.hibernate.criterion中的方法 修饰符和类型 方法 说明 ExampleExample. enableLike(MatchMode matchMode)Use the "like" operator for all string-valued propertiesstatic CriterionRestrictions. ilike(String propertyName, String value, MatchMode matchMode)A case-insensitive "like" (similar to Postgres ilike operator) using the provided match modeSimpleExpressionProperty. like(String value, MatchMode matchMode)Creates a LIKE restriction for this propertystatic SimpleExpressionRestrictions. like(String propertyName, String value, MatchMode matchMode)Apply a "like" constraint to the named property using the provided match mode参数类型为MatchMode的org.hibernate.criterion中的构造器 构造器 说明 IlikeExpression(String propertyName, String value, MatchMode matchMode)已过时。LikeExpression(String propertyName, String value, MatchMode matchMode)LikeExpression(String propertyName, String value, MatchMode matchMode, Character escapeChar, boolean ignoreCase)
-