Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.0.3 (Kay SR3)
-
Fix Version/s: 2.1 M2 (Lovelace), 2.0.6 (Kay SR6)
-
Component/s: Repository
-
Labels:None
-
Pull Request URL:
-
Sprint:Lovelace M2 / M3
Description
String-based queries via @Query(…) render a predicate prefixed with $uuid that can't be executed anymore.
public interface CredentialsRepository extends MongoRepository<Credentials, Long> { @Query("{ 'userId' : ?0}") Credentials retrieveWithUserId(UUID userId); }
renders a query:
{userId: {$uuid : …} }
instead of
{userId: … }
Attachments
Issue Links
- relates to
-
DATAMONGO-2029 String query methods do not convert List<UUID> and List<byte[]> to their correct representation
-
- Closed
-
- links to