spring-projects / spring-projects/spring-data-jpa

Update documentation to demonstrate using RepositoryFactoryCustomizer

Open
#953 6 comments 0 reactions 1 assignee View on GitHub

@odrotbohm is already working on this.

Since Dec 30, 2020.

type: documentation type: enhancement
Dominant language
Java
Stars
3.3k
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

Thomas Darimont opened DATAJPA-562 and commented

A common requirement that users have is to be able to inspect and / or modify objects after they are returned by the EntityManager before they are passed on to the user code.
Therefore it would be helpful to have a pluggable way to generically post-process query results, e.g. to automatically detach result entities or do some additional security checks, mask some data etc


Affects: 1.6 GA (Dijkstra)

Issue Links:

  • DATAJPA-564 Support for SpEL based parameter expressions in repository query methods

  • DATAJPA-565 Support for referencing Spring Security information in queries

Referenced from: pull request https://github.com/spring-projects/spring-data-jpa/pull/99, and commits https://github.com/spring-projects/spring-data-jpa/commit/256978eee64089c41666397efbc51e3abc641090, https://github.com/spring-projects/spring-data-jpa/commit/c0d950cdb78a70981894760c3fbd7c403600df7c, https://github.com/spring-projects/spring-data-jpa/commit/8ee183c79939167aed37cb76dc94388dc89e1c72

2 votes, 6 watchers

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.