You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a database structure using PanacheEntity, errors are thrown during DDL exection.
Hibernate failes to create tables when using JavaX persitence relation (e.g. MayToOne) on the given table-type.
Expected behavior
I'd expect, that hibernate generates the database tables with all given links between them.
Actual behavior
Error executing DDL creating tables org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table Order (id bigint not null, orderTimestamp timestamp, shipped boolean not null, customer_id bigint, primary key (id))" via JDBC Statement
Describe the bug
When building a database structure using PanacheEntity, errors are thrown during DDL exection.
Hibernate failes to create tables when using JavaX persitence relation (e.g. MayToOne) on the given table-type.
Expected behavior
I'd expect, that hibernate generates the database tables with all given links between them.
Actual behavior
Error executing DDL creating tables
org.hibernate.tool.schema.spi.CommandAcceptanceException: Error executing DDL "create table Order (id bigint not null, orderTimestamp timestamp, shipped boolean not null, customer_id bigint, primary key (id))" via JDBC Statement
To Reproduce
https://github.com/rosariop/PanacheRelationBugDemo
Steps to reproduce the behavior:
./mvnw compile quarkus:dev
Configuration
Environment (please complete the following information):
Using Ubuntu 20.04, OpenJDK 11, Maven 3.6.3
Output of
uname -a
orver
Linux ubuntuvm 5.8.0-50-generic #56~20.04.1-Ubuntu SMP Mon Apr 12 21:46:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk version "11.0.10" 2021-01-19
OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
Quarkus version or git rev
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.6.3
The text was updated successfully, but these errors were encountered: