Skip to content

CCE in simple criteria query with StatelessSession due to cast to ReactiveSession #2209

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
gavinking opened this issue Apr 21, 2025 · 3 comments · Fixed by #2216 or #2210
Closed

CCE in simple criteria query with StatelessSession due to cast to ReactiveSession #2209

gavinking opened this issue Apr 21, 2025 · 3 comments · Fixed by #2216 or #2210
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gavinking
Copy link
Member

gavinking commented Apr 21, 2025

ReactiveEntitySelectFetchInitializer casts to ReactiveSession instead of ReactiveQueryProducer.

This is pretty bad. We should audit other casts to ReactiveSession and make sure there are no other such bugs.

@gavinking gavinking added the bug Something isn't working label Apr 21, 2025
@gavinking gavinking self-assigned this Apr 21, 2025
gavinking added a commit to gavinking/hibernate-reactive that referenced this issue Apr 21, 2025
gavinking added a commit that referenced this issue Apr 21, 2025
at least some of these are not actually bugs, but some others look sus
gavinking added a commit to gavinking/hibernate-reactive that referenced this issue Apr 21, 2025
at least some of these are not actually bugs, but some others look sus
gavinking added a commit to gavinking/hibernate-reactive that referenced this issue Apr 21, 2025
at least some of these are not actually bugs, but some others look sus
@DavideD
Copy link
Member

DavideD commented Apr 23, 2025

What was the failure with Maria about?

@gavinking
Copy link
Member Author

The test assumed the query returned the rows in a certain order, IIRC.

DavideD pushed a commit to DavideD/hibernate-reactive that referenced this issue Apr 24, 2025
DavideD pushed a commit to DavideD/hibernate-reactive that referenced this issue Apr 24, 2025
at least some of these are not actually bugs, but some others look sus
DavideD pushed a commit that referenced this issue Apr 24, 2025
at least some of these are not actually bugs, but some others look sus
@DavideD DavideD added this to the 3.0.0.CR1 milestone Apr 24, 2025
@DavideD
Copy link
Member

DavideD commented Apr 25, 2025

I'm going to close this issue and consider it done.
If something else fails we will fix it.

Thanks

@DavideD DavideD closed this as completed Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment