Rework the handling of annotations for scope and collection.
The scope and collection repository annotations were not being passed on to derived and @Query remove operations. The handling of scope and collection annotations has been reworked in: 1) CrudMethodMetadataProcessor 2) All the *OperationSuppport constructors - the initial scope and collection is taken from the domainEntity class. 3) PseudoArgs 4) AbstractCouchbaseQuery/AbstractReactiveCouchbaseQuery add the scope/collection to the remove operation (analogous to the find Operation). 5) Scope/Collection is passed as args to the execute() method - even though this is redundant at the moment. Closes #1441.
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
- log additional debug info during automatic index creation
|
||||
-->
|
||||
|
||||
<logger name="org.springframework.data.couchbase.core" level="debug"/>"
|
||||
<logger name="org.springframework.data.couchbase.core" level="trace"/>"
|
||||
<logger name="org.springframework.data.couchbase.repository.query" level="debug"/>
|
||||
<logger name="org.springframework.data.couchbase.repository.query.SpatialViewQueryCreator" level="trace"/>
|
||||
<logger name="org.springframework.data.couchbase.repository.query.StringN1qlBasedQuery" level="trace"/>
|
||||
|
||||
Reference in New Issue
Block a user