Skip to content

Allow configuration of transformation for case-insensitive queries #2420

Open
@ViktarRVR

Description

@ViktarRVR

We use Spring Data JPA + Querydsl JPA. If we perform queries with ignoreCase keyword in repository methods Spring data JPA use UPPER function on parameters in SQL(as described in documentation, Table 3. Supported keywords inside method names), but Querydsl JPA uses LOWER function. We should use two types of indexes or don't use ignoreCase keyword in repository methods.

It would be great, if it was possible to configured to use UPPER function or LOWER function in Spring Data JPA.

See also #3540

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions