-
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
hbm2ddl create-schemas doesn't work when setting quarkus.hibernate-orm.database.default-schema #25244
Comments
It seems to work in our integration tests: quarkus/integration-tests/jpa-postgresql/src/main/resources/application.properties Line 7 in d688bcf
quarkus/integration-tests/jpa-postgresql/src/main/java/io/quarkus/it/jpa/postgresql/Person.java Line 14 in 7c9966f
Lines 107 to 131 in 7c9966f
Can you please provide a simple project that reproduces the problem? Thank you. |
This other issue suggests the problem is only when |
@yrodiere Sorry for the late reply. I've created a repo here https://github.com/vu-bui/quarkus-hibernate-schema-generation. What I found out was that It also works if I specifically define |
Thanks a lot for the information and reproducer @vu-bui , it does seem related to some changes I'm familiar with. I will have a closer look. |
After some investigation, the problem seems to be upstream. I reported the problem: https://hibernate.atlassian.net/browse/HHH-16177 |
The bug was fixed upstream. It will be fixed in Quarkus as soon as we upgrade to either Hibernate ORM 5.6.16.Final or Hibernate ORM 6.2.0.Final (neither was released yet). |
I presume this was closed with #32687, I'll write test in QE test suite, so will verify it later. |
thanks @michalvavrik ! |
That's right, I forgot to close this. Thanks! |
Describe the bug
The option quarkus.hibernate-orm.database.generation.create-schemas seems to doesn't work anymore since
2.6.3.Final
. I'm not sure if it's caused by Hibernate upgrade or not.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
Darwin local 21.5.0 Darwin Kernel Version 21.5.0: Thu Apr 21 19:51:22 PDT 2022; root:xnu-8020.120.68.131.2~2/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.15" 2022-04-19
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.6.3.Final and newer
Build tool (ie. output of
mvnw --version
orgradlew --version
)Gradle 7.4.2
Additional information
No response
The text was updated successfully, but these errors were encountered: