Comments (9)
I am however not sure if it describes the same situation as mine - and wanted the issue to be tracked here as well, so it is easier to find for other quarkus users.
Given there is little specific to Quarkus in jpamodelgen... I'd bet on this being totally unrelated to Quarkus.
There is already a similar issue on the hibernate tracker: https://hibernate.atlassian.net/jira/software/c/projects/HHH/issues/HHH-17514 Which has a PR hibernate/hibernate-orm#7637.
Thanks for linking to the upstream issue. Let's close when we upgrade to the relevant upstream version then.
from quarkus.
Wait... that's wrong. https://hibernate.atlassian.net/browse/HHH-17514 affects 6.4.0, it's not fixed there. The issue is still open upstream.
Reopening...
from quarkus.
/cc @gsmet (hibernate-orm), @yrodiere (hibernate-orm)
from quarkus.
There is already a similar issue on the hibernate tracker: https://hibernate.atlassian.net/jira/software/c/projects/HHH/issues/HHH-17514
Which has a PR hibernate/hibernate-orm#7637.
I am however not sure if it describes the same situation as mine - and wanted the issue to be tracked here as well, so it is easier to find for other quarkus users.
from quarkus.
FTR.
As a workaround, I declare a known good version of the jpamodelgen in my own dependencymanagement.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>6.2.13.Final</version>
</dependency>
</dependencies>
</dependencyManagement>
Now I can already switch to declaring my annotationProcessors using the compiler plugin.
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<annotationProcessorPaths>
<path>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
This uses my own declared version of 6.2.13.Final - and the build is succesfull. Once the bug is fixed upstream (and quarkus updated), I can simply remove the entry from my own dependency-management.
from quarkus.
Has this since been fixed?
from quarkus.
The fix was in Hibernate ORM 6.4.0, which we upgraded to in #36978, first released in Quarkus 3.7.0.CR1.
So yes it's been fixed, I just forgot to list it in the relevant PR, sorry.
Closing.
from quarkus.
Thanks!
from quarkus.
So the bug was apparently fixed somewhere between 6.4.1 and 6.4.8, see https://hibernate.atlassian.net/browse/HHH-17514. But since it was fixed by an unrelated change, I don't know which version
I don't think it matters anyway; in Quarkus, it's fixed for sure by #40102 in Quarkus 3.11.0.CR1, and should also be fixed in any version that upgrades to Hibernate ORM 6.4.8 (I'll send a PR shortly for Quarkus 3.8).
from quarkus.
Related Issues (20)
- Quarkus REST abstract resources with @Path requires impl. to be CDI beans while RESTEasy does not HOT 5
- The LOCAL class has a scope annotation but it must be ignored per the CDI rules HOT 11
- PostgreSQL DevServices with embedding Vectors HOT 1
- REST Client reporting "false negative" unrecognized URL configuration keys on startup HOT 4
- no post-process filtering in native image tracing agent HOT 2
- Use conditional dependencies for Flyway HOT 5
- Problem with @ConfigProperty in null when using a process in Apache Camel Quarkus HOT 5
- GraphQL Query generated from windows doesn't work HOT 2
- Vaadin @Push does not work - always DISABLED HOT 2
- Netty finalizers load classes from closed class loaders HOT 5
- Cannot change quarkus.log.category."WebApplicationException".level HOT 11
- quarkus-redis-client : JSON.MGET returning null HOT 7
- Expose validate-on-borrow provided by Agroal through Quarkus HOT 5
- Set pull policy for devservices HOT 6
- Error when deploying to OpenShift HOT 4
- Inject config properties into OpenApiFilter HOT 4
- RabbitMQ Message not nacked in case of queue limit HOT 2
- `@TestTransaction` Annotation Causes DeploymentException in Nested Test Classes HOT 4
- OutOfMemoryError when returning a large InputStream which is consumed slowly HOT 5
- Fix Reactive Resteasy to deal with request/responses without headers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quarkus.