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

Cannot process AOT when spring-orm is on the classpath without JPA #32160

Closed
github-actions bot opened this issue Jan 30, 2024 · 1 comment
Closed

Cannot process AOT when spring-orm is on the classpath without JPA #32160

github-actions bot opened this issue Jan 30, 2024 · 1 comment
Assignees
Labels
type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Milestone

Comments

@github-actions
Copy link
Contributor

Backport of gh-32155

@github-actions github-actions bot added type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug labels Jan 30, 2024
@github-actions github-actions bot added this to the 6.0.17 milestone Jan 30, 2024
@snicoll snicoll self-assigned this Jan 30, 2024
@snicoll snicoll changed the title Cannot process AOT when spring-orm is on the classpath Cannot process AOT when spring-orm is on the classpath without JPA Jan 30, 2024
snicoll added a commit that referenced this issue Jan 30, 2024
This commit improves PersistenceManagedTypesBeanRegistrationAotProcessor
so that it does not attempt to load JPA classes when checking for the
presence of a PersistenceManagedTypes bean. To make it more clear a
check on the presence for JPA has been added to prevent the nested
classes to be loaded regardless of the presence of the bean.

Closes gh-32160
Copy link
Contributor Author

Fixed via 125ebd0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: backport An issue that is a backport of another issue to a maintenance branch type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant