Skip to content

[Hibernate Reactive] Using with hibernate reactive to just build query strings? #1715

Answered by beikov
agreedSkiing asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible to do that, but note that there are limits. Certain features of Blaze-Persistence require deep integration which makes it very hard because Hibernate Reactive is so different. With Hibernate 6, the need for certain deep integrations became unnecessary, because it supports set operations and limit/offset natively.

You can try to use the query string from CriteriaBuilder.getQueryString() directly. You just need to bind through the parameters, but these are accessible through getParameters() and getParameterValue()

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by agreedSkiing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants