Closed
Description
Weihong Zhang opened DATAMONGO-1925 and commented
@Query(value = "{'myId': ?0,'category':?1}")
This query failed. The root cause is on ExpressionEvaluatingParameterBinder.replacePlaceholders
, the first placeholder it extracted is ?0,
", but should be ?0
. Add a space before the single quote can make this query work:
@Query(value = "{'myId': ?0, 'category':?1}")
Affects: 1.9.11 (Hopper SR11), 1.10.11 (Ingalls SR11)