spring-projects / spring-projects/spring-data-relational
Support Criteria with SqlIdentifier (supporting "quoted" column names)
Open
@schauder is already working on this.
Since Jul 21, 2021.
in: selectbuilder
type: enhancement
- Dominant language
- Java
- Stars
- 827
- Forks
- 394
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Currently, Criteria only supports "unquoted" SqlIdentifiers - this occurs because the API only accepts a String and then passes it on to SqlIdentifier.unquoted().
I have a use-case where I would like to reuse the Criteria API but need to construct SqlIdentifier (I need support for quoted and composite). This would enable to better compose a custom add-on on top of the R2DBC repositories as I would be able to reuse the same Criteria class for filtering (rather than having to "invent my own").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.