注释类型 Where


  • @Target({TYPE,METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface Where
    Where clause to add to the element Entity or target entity of a collection. The clause is written in SQL. A common use case here is for soft-deletes.
    作者:
    Emmanuel Bernard
    • 必需元素概要

      所需元素 
      修饰符和类型 必需的元素 说明
      String clause
      The where-clause predicate.
    • 元素详细资料

      • clause

        String clause
        The where-clause predicate.