Annotation Type Query
Annotation to declare native queries directly on repository methods.
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionbooleanReturns whether the query defined should be executed as count projection.booleanReturns whether the query defined should delete matching rows.booleanReturns 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- 
valueString 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:
- ""
 
- 
countboolean countReturns whether the query defined should be executed as count projection.- Default:
- false
 
- 
existsboolean existsReturns whether the query defined should be executed as exists projection.- Default:
- false
 
- 
deleteboolean deleteReturns whether the query defined should delete matching rows.- Default:
- false
 
 
-