-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Default to drop-and-create for DevServices #19951
Default to drop-and-create for DevServices #19951
Conversation
@Sanne in this case we know that we just started the container, so we know there is no schema there (unless they have used a custom image with the schema in it). I think this makes sense in terms of making this 'just work' out of the box. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a minor gripe: that's how it's documented everywhere now so let's be consistent.
...-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/HibernateOrmProcessor.java
Outdated
Show resolved
Hide resolved
...-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/HibernateOrmProcessor.java
Outdated
Show resolved
Hide resolved
...src/main/java/io/quarkus/hibernate/orm/runtime/HibernateOrmRuntimeConfigPersistenceUnit.java
Outdated
Show resolved
Hide resolved
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building f56f305
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 10 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 10 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 16 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 10 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
|
Nice idea, thanks! I wonder if the check on
I'll play a bit more with it to see if I'm missing something. |
I was actually thinking about this yesterday when creating a demo. Definitely +1 from me for the idea. |
Ok looks like this isn't too tricky when there are multiple PUs, works fine even on non-default PUs - although obviously one is no longer able to run "fully configuration-less" |
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building c4434d3
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 10 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 10 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 16 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 10 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
|
c4434d3
to
6aeb4bd
Compare
6aeb4bd
to
3ecce72
Compare
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building 3ecce72
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 11 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 11 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 16 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 11 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
|
3ecce72
to
b3b89ca
Compare
This workflow status is outdated as a new workflow run has been triggered. Failing Jobs - Building b3b89ca
Full information is available in the Build summary check run. Failures⚙️ JVM Tests - JDK 11 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 11 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 11 Windows #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 11 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
⚙️ JVM Tests - JDK 16 #- Failing: extensions/panache/hibernate-orm-panache/deployment
! Skipped: docs extensions/panache/hibernate-orm-rest-data-panache/deployment extensions/security-jpa/deployment and 11 more 📦 extensions/panache/hibernate-orm-panache/deployment✖
|
This allows for hibernate to be used without configuration.
b3b89ca
to
19566de
Compare
This allows for hibernate to be used without configuration.