Hibernate ORM codestart doesn't compile out of the box, jdbc extension is needed
See original GitHub issueDescribe the bug
Hibernate ORM codestart doesn’t compile out of the box, jdbc extension is needed
Hibernate ORM codestart was introduced in https://github.com/quarkusio/quarkus/pull/20879 by @loicmathieu
Expected behavior
codestart compiles
Actual behavior
codestart doesn’t compile on its own, additional changes are needed
How to Reproduce?
Download sample app with just orm extension selected from https://code.quarkus.io/
Run mvn clean verify
Output of uname -a
or ver
No response
Output of java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of mvnw --version
or gradlew --version
)
No response
Additional information
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:27 (26 by maintainers)
Top Results From Across the Web
Guides - Latest - Quarkus
This guide explains how to migrate an application from RESTEasy Classic to RESTEasy Reactive. Writing Simple REST CRUD Services. Hibernate ORM REST Data...
Read more >Generating Java Using CodeFluent Entities and Hibernate
In order to connect to the database, Hibernate needs a configuration file. This project-wide configuration file has the ".cfg.xml" extension. It not only ......
Read more >RESTEasy Reactive Blocking vs Non-Blocking by default
I would like to revisit the topic of the default blocking vs non-blocking for RESTEasy Reactive. As we start to push users more...
Read more >Using Quarkus to develop a multiplayer game - Chapter #1
By simply adding the JDBC driver as a Quarkus extension and Hibernate as ORM mapper, we already have everything we need to start...
Read more >Sakai 2.9 release notes - Documentation - Confluence
Ability to set score for students who have not submitted their work. ... New security infrastructure introduced in Sakai 2.9.2 (off by default, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, so I’ll decide: we’ve been arguing for a long time with no decision, we need to move on. Let’s close this.
Two motivations:
So let’s keep the things as they are, and keep adding codestarts. If people forget to include a JDBC driver, we’ll error out and people will just include a JDBC driver. If the current error is unclear, we’ll improve it.
AFAICS, I’m not the only one with that opinion.
Closing as not planned; thanks everyone involved for the discussion.
So, what is the decision around this issue ? It blocks #21651
My take on it: keep it as today, an error is good and people must add a JDBC driver when using Hibernate.