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

Replace spring.datasource.initialization-order with a JPA-specific property #25559

Closed
wilkinsona opened this issue Mar 9, 2021 · 0 comments
Closed
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@wilkinsona
Copy link
Member

spring.datasource.initialization-order was introduced in M2 to allow DataSource initialization to be deferred until after any EntityManagerFactory had been created. This meant that the general initialization had become somewhat aware of a JPA specific concept. That's not too bad for JDBC, but when we support initialization with R2DBC as well it'll become a bigger problem.

We should replace spring.datasource.initialization-order with a JPA-specific property.

@wilkinsona wilkinsona added this to the 2.5.0-M3 milestone Mar 9, 2021
@wilkinsona wilkinsona self-assigned this Mar 9, 2021
@wilkinsona wilkinsona added the type: enhancement A general enhancement label Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant