注释类型 QueryLike


  • @Documented
    @Retention(RUNTIME)
    @Target(FIELD)
    public @interface QueryLike
    标识实体对象(Entity)的字段 自动封装Specification时将该字段解析为like查询 只能应用与String类型的属性,禁止用于被@Clob注解标记的属性
    作者:
    jiawei
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      org.springframework.data.domain.ExampleMatcher.StringMatcher matcher  
    • 元素详细资料

      • matcher

        org.springframework.data.domain.ExampleMatcher.StringMatcher matcher
        默认值:
        org.springframework.data.domain.ExampleMatcher.StringMatcher.CONTAINING