Skip to content
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

Adapt JPA configuration to make use of PersistenceManagedTypes #32119

Closed
snicoll opened this issue Aug 19, 2022 · 0 comments
Closed

Adapt JPA configuration to make use of PersistenceManagedTypes #32119

snicoll opened this issue Aug 19, 2022 · 0 comments
Assignees
Labels
theme: aot An issue related to Ahead-of-time processing type: task A general task
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Aug 19, 2022

Spring Framework has introduced optimized processing of JPA entities, see spring-projects/spring-framework#28287

To be able to benefit from it, we need to extra the classpath scanning logic so that it can be optimized. It boils down to exposing a PersistenceManagedTypes bean, rather than setting the packages to scan on the EntityManagerBuilder.

@snicoll snicoll added type: task A general task theme: aot An issue related to Ahead-of-time processing labels Aug 19, 2022
@snicoll snicoll added this to the 3.0.0-M5 milestone Aug 19, 2022
@snicoll snicoll self-assigned this Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-of-time processing type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant