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

Import DB data from data.sql when using quarkus-spring-data-jpa extension #40037

Closed
rsvoboda opened this issue Apr 12, 2024 · 3 comments · Fixed by #40039
Closed

Import DB data from data.sql when using quarkus-spring-data-jpa extension #40037

rsvoboda opened this issue Apr 12, 2024 · 3 comments · Fixed by #40039
Labels
area/hibernate-orm Hibernate ORM area/spring Issues relating to the Spring integration kind/enhancement New feature or request
Milestone

Comments

@rsvoboda
Copy link
Member

Description

In Quarkus we have support for loading data from import.sql in dev and test mode. SB uses data.sql. When people are moving to Quarkus they need to be aware of different file name and rename their data.sql.

Quarkus should be able to to work with data.sql when quarkus-spring-data-jpa extension is added to the project to make the transition slightly easier.

Another approach could be a global change to make data.sql fallback if import.sql is unavailable.

Implementation ideas

No response

@rsvoboda rsvoboda added the kind/enhancement New feature or request label Apr 12, 2024
@quarkus-bot quarkus-bot bot added the area/spring Issues relating to the Spring integration label Apr 12, 2024
Copy link

quarkus-bot bot commented Apr 12, 2024

/cc @geoand (spring)

@rsvoboda rsvoboda added the area/hibernate-orm Hibernate ORM label Apr 12, 2024
@geoand
Copy link
Contributor

geoand commented Apr 12, 2024

Makes perfect sense!

@geoand
Copy link
Contributor

geoand commented Apr 12, 2024

#40039 should do the trick

geoand added a commit that referenced this issue Apr 12, 2024
Support data.sql in Spring Data JPA module
@quarkus-bot quarkus-bot bot added this to the 3.10 - main milestone Apr 12, 2024
zZHorizonZz pushed a commit to zZHorizonZz/quarkus-grpc-transcode that referenced this issue Apr 24, 2024
poldinik pushed a commit to poldinik/quarkus that referenced this issue Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hibernate-orm Hibernate ORM area/spring Issues relating to the Spring integration kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants