Annotation Type 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.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String clause
      The where-clause predicate.
    • Element Detail

      • clause

        java.lang.String clause
        The where-clause predicate.