Skip to content

Expose BeanFactory to RepositoryFactorySupport implementations. #2614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
gregturn opened this issue Apr 27, 2022 · 1 comment
Closed

Expose BeanFactory to RepositoryFactorySupport implementations. #2614

gregturn opened this issue Apr 27, 2022 · 1 comment
Assignees
Labels
in: core Issues in core support status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement

Comments

@gregturn
Copy link
Contributor

Implementations of RepositoryFactorySupport need access to the underlying BeanFactory.

Related: spring-projects/spring-data-jpa#2162

@gregturn gregturn added in: core Issues in core support type: enhancement A general enhancement labels Apr 27, 2022
@gregturn gregturn added this to the 3.0 M4 (2022.0.0) milestone Apr 27, 2022
@gregturn gregturn self-assigned this Apr 27, 2022
@gregturn gregturn changed the title Expose beanFactory to RepositoryFactorySupport implementations. Expose BeanFactory to RepositoryFactorySupport implementations. Apr 27, 2022
gregturn added a commit that referenced this issue Apr 27, 2022
Some implementations (Spring Data JPA especially) need access to the underlying BeanFactory. Add a protected getter.

Related: spring-projects/spring-data-jpa#2162

Closes #2614
gregturn added a commit that referenced this issue Apr 27, 2022
Some implementations (Spring Data JPA especially) need access to the underlying BeanFactory. Add a protected getter.

Related: spring-projects/spring-data-jpa#2162

Closes #2614
gregturn added a commit to spring-projects/spring-data-jpa that referenced this issue Apr 27, 2022
Allow a QueryRewriter to be applied to any query crafted using @query via an additional @QueryRewriter annotation. Also supported directly inside @query.

Depends on: spring-projects/spring-data-commons#2614

See #2162.
@gregturn
Copy link
Contributor Author

Not necessary. Overriding Spring Data JPA's extension on the setBeanFactory affords us the only needed hook to configure this.

@gregturn gregturn added the status: declined A suggestion or change that we don't feel we should currently apply label Apr 28, 2022
@gregturn gregturn removed this from the 3.0 M4 (2022.0.0) milestone Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support status: declined A suggestion or change that we don't feel we should currently apply type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant