Skip to content

Data initialization occurs before JPA entities are created. #10365

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
funny-beans opened this issue Sep 20, 2017 · 1 comment
Closed

Data initialization occurs before JPA entities are created. #10365

funny-beans opened this issue Sep 20, 2017 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@funny-beans
Copy link

data.sql is executed before JPA entities are created which is specified by

<spring.jpa.generate-ddl=true>

Working example highlighting the issue can be found here git.io/v5SWx

I have tried asking this as a question on StackOverflow and looked at other similar threads but couldn't get a answer. Here is the link to SO post:
https://stackoverflow.com/questions/46066575/spring-boot-data-initialization

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Sep 20, 2017
@wilkinsona
Copy link
Member

Duplicate of #9048

@wilkinsona wilkinsona marked this as a duplicate of #9048 Sep 21, 2017
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

4 participants