-
Notifications
You must be signed in to change notification settings - Fork 88
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
Reactive hibernate version 1.0.0.CR9 throws an exception while opening session #926
Comments
See if this answer your question: #750 (comment) |
The reason you are having this error is because we have added some checks to make sure that the session is used correctly. |
Thank you @DavideD for your response. In my project I have used several places as I changed my code like this
But I am getting one compilation issue over here. If I did not pass the second argument in the native query method then it should return list of object array right. But it is returning as list of object. Hibernate Reactive - 1.0.0.CR9 |
@nivinps you should use the overloaded version of |
okay. Is it related to this #919 issue. Because 1.0.0.CR9 version will give a cast exception if I pass second argument as Tuple.class. So I just try to get as list of object array in this version (1.0.0.CR9) |
The Tuple class will be supported in the next release but you should be able to use
|
Thanks @DavideD. It is working |
I think we can consider this issue closed. |
Hi,
I am using Hibernate Reactive for my spring webflux project. I have upgraded hibernate reactive version from 1.0.0.CR7 to 1.0.0.CR9, after that I am getting an exception while opening session. Kindly help.
Earlier working versions:
Hibernate Reactive - 1.0.0.CR7
vertx-mysql-client - 4.1.0
Spring boot version - 2.5.3
Upgraded versions:
Hibernate Reactive - 1.0.0.CR9
vertx-mysql-client - 4.1.2
Spring boot version - 2.5.3
Exception Message:
HR000068: This method should exclusively be invoked from a Vert.x EventLoop thread; currently running on thread 'reactor-http-nio-3'; nested exception is java.lang.IllegalStateException: HR000068: This method should exclusively be invoked from a Vert.x EventLoop thread; currently running on thread 'reactor-http-nio-3'
The text was updated successfully, but these errors were encountered: