Annotation Interface Where


@Target({TYPE,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. It can be used on class level or on interleaved list as well. It overwrites the class-level `@Where` annotation when used on an interleaved list property of the same type.
Since:
1.2.2
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The where-clause predicate.
  • Element Details

    • value

      String value
      The where-clause predicate.
      Returns:
      SQL where cause