Skip to content

Create an API to customize query creation and query processing [DATAJPA-1551] #1859

Open
@spring-projects-issues

Description

@spring-projects-issues

Jens Schauder opened DATAJPA-1551 and commented

There are various issues that try to make some kind of customisation possible for queries.

Most of these are somewhat ad hoc in that someone tries to implement something, eventually stumbles upon something that is not available, because it is final or not public and then requests to change that.

This kind of approach does not result in a maintainable API and therefore has little chance to actually get implemented.

This issue tries to take a step back and gather

  1. What are the things people try to do from a end user perspective (not: I try to access property x in class y, but: I'm trying to access an additional where clause with a bind parameter to all queries of a certain form)
  2. See what, if any we can support with a proper API

Issue Links:

  • DATACMNS-293 Add infrastructure for generic query augmentation

  • DATAJPA-307 Add support for soft deletes

  • DATAJPA-948 Provide extensibility of query creation

  • DATAJPA-1272 Extend visibility modifiers of ParameterMetadataProvider to allow custom implementations of AbstractJpaQuery

5 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions