Annotation Type Query


Annotation to declare native queries directly on repository methods.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns whether the query defined should be executed as count projection.
    boolean
    Returns whether the query defined should delete matching rows.
    boolean
    Returns whether the query defined should be executed as exists projection.
    Takes an Oracle NoSQL DB SQL query string to define the actual query to be executed.
  • Element Details

    • value

      String value
      Takes an Oracle NoSQL DB SQL query string to define the actual query to be executed. This one will take precedence over the method name then.
      Default:
      ""
    • count

      boolean count
      Returns whether the query defined should be executed as count projection.
      Default:
      false
    • exists

      boolean exists
      Returns whether the query defined should be executed as exists projection.
      Default:
      false
    • delete

      boolean delete
      Returns whether the query defined should delete matching rows.
      Default:
      false