DATACOUCH-180 - Allow named parameters in inline N1QL queries

Choice of placeholder "mode" is determined by the syntax used inside the query, early during repository instantiation.

An IllegalArgumentException is thrown if both named and positional parameters are used.
This commit is contained in:
Simon Baslé
2016-01-27 17:31:27 +01:00
parent 524e8202f6
commit 6d747e97f5
7 changed files with 271 additions and 20 deletions

View File

@@ -18,7 +18,7 @@
<!-- You can use these logger configurations to log more details:
- log the Couchbase queries produced by the framework
- log details of geo queries and false positive elimination
- log details of the parsing of SpEL in N1QL inline queries
- log details of the detection of placeholders in N1QL inline queries
- log additional debug info during automatic index creation
-->
<logger name="org.springframework.data.couchbase.repository.query" level="debug"/>