Skip to content

Missing method in org.hibernate.reactive.query.sql.spi.ReactiveNamedNativeQueryMemento with Hibernate ORM 6.6.4 #2041

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

Closed
yrodiere opened this issue Dec 19, 2024 · 5 comments
Labels
2.4 bug Something isn't working regression Something that was working before. A test that we have disabled
Milestone

Comments

@yrodiere
Copy link
Member

It would seem that with the recent changes to ORM 6.6 in 6.6.4, Hibernate Reactive is no longer compatible:

See quarkusio/quarkus#45197

2024-12-18T23:40:22.4748605Z 2024-12-18 23:40:22,448 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (vert.x-eventloop-thread-1) HTTP Request to /tests/reactiveFindNativeQuery failed, error id: 496193e7-f562-4444-a950-6e4341076c25-1: java.lang.AbstractMethodError: Receiver class org.hibernate.reactive.query.sql.spi.ReactiveNamedNativeQueryMemento does not define or inherit an implementation of the resolved method 'abstract java.lang.Class getResultType()' of interface org.hibernate.query.sql.spi.NamedNativeQueryMemento.
@yrodiere yrodiere added bug Something isn't working regression Something that was working before. A test that we have disabled labels Dec 19, 2024
@gavinking
Copy link
Member

@DavideD
Copy link
Member

DavideD commented Dec 19, 2024

Thanks, one of our classes extends the interface NamedNativeQueryMemento, and I need to add the new getResultType() method.

Not sure why we don't extend AbstractNamedQueryMemento.
I'm working on it.

@DavideD DavideD added this to the 2.4.3.Final milestone Dec 19, 2024
@DavideD
Copy link
Member

DavideD commented Dec 19, 2024

Fixed as part of #2043

@DavideD DavideD closed this as completed Dec 19, 2024
@gsmet
Copy link
Member

gsmet commented Dec 20, 2024

@DavideD from a schedule perspective, it would be nice if we could upgrade ORM to 6.6.4 in Quarkus before January 10th so that it's included in 3.18 so no big rush to get things done before Christmas but let's tackle it early next year if we can.

@DavideD
Copy link
Member

DavideD commented Dec 20, 2024

Thanks, it shouldn't be a problem.

Just to give a bit of context:
this issue is caused by unfortunate timing. The breaking change was included closed to the release of Hibernate ORM, while I was updating the the job that builds with the snapshots. At the same time, there is some work done on the release scripts of Hibernate ORM and Reactive. I'm waiting for these to be merged.

@DavideD DavideD added the 2.4 label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.4 bug Something isn't working regression Something that was working before. A test that we have disabled
Projects
None yet
Development

No branches or pull requests

4 participants