Skip to content

Add support for background initialization of EntityManagerFactory - #7184

Closed
vpavic wants to merge 1 commit into
spring-projects:masterfrom
vpavic:gh-5619
Closed

vpavic wants to merge 1 commit into
spring-projects:masterfrom
vpavic:gh-5619

Conversation

@vpavic

@vpavic vpavic commented Oct 18, 2016

Copy link
Copy Markdown
Contributor

This PR adds support for background initialization of EntityManagerFactory which is triggered by presence of @Primary AsyncTaskExecutor.

Resolves #5619.

This commit adds support for background initialization of `EntityManagerFactory` which is triggered by presence of `@Primary` `AsyncTaskExecutor`.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. label Oct 18, 2016
@snicoll snicoll self-assigned this Oct 18, 2016
@snicoll

snicoll commented Oct 24, 2016

Copy link
Copy Markdown
Member

Looks good @vpavic, thanks! I do hope we'll be able to get rid of that extra constructor that takes URL persistenceUnitRootLocation so hopefully we should be able to reduce the amount of constructors there...

@snicoll snicoll added type: enhancement A general enhancement for: team-attention An issue we'd like other members of the team to review and removed status: waiting-for-triage An issue that has not yet been triaged. Contributions will not be accepted. labels Oct 24, 2016
@snicoll

snicoll commented Oct 31, 2016

Copy link
Copy Markdown
Member

Thanks for the PR but we prefer to revisit this feature once we have implemented #5082

@snicoll snicoll closed this Oct 31, 2016
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed type: enhancement A general enhancement for: team-attention An issue we'd like other members of the team to review labels Oct 31, 2016
@vpavic

vpavic commented Oct 31, 2016

Copy link
Copy Markdown
Contributor Author

@snicoll OK, if that's the case I believe #5619 should be reopened, right?

@snicoll

snicoll commented Oct 31, 2016

Copy link
Copy Markdown
Member

Good catch, thanks!

@vpavic
vpavic deleted the gh-5619 branch August 14, 2018 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants