Annotation Type Query
Annotation to declare native queries directly on repository methods.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
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 valueTakes 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 countReturns whether the query defined should be executed as count projection.- Default:
- false
-
exists
boolean existsReturns whether the query defined should be executed as exists projection.- Default:
- false
-
delete
boolean deleteReturns whether the query defined should delete matching rows.- Default:
- false
-