Skip to content
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

Panache simplfied query + CTE with #36496

Closed
zakariafadili opened this issue Oct 16, 2023 · 4 comments · Fixed by #38764
Closed

Panache simplfied query + CTE with #36496

zakariafadili opened this issue Oct 16, 2023 · 4 comments · Fixed by #38764
Labels
area/panache kind/bug Something isn't working
Milestone

Comments

@zakariafadili
Copy link

Describe the bug

Hibernate ORM panache does not recognize syntax starting with "WITH" according to the syntax provided in Hibernate 2.0 for enabling recursive queries (CTE).

In fact, the query "WITH xxx AS (Select ...) Select * FROM xxx" is replaced by "FROM *** WHERE WITH..." which is incorrect.

Expected behavior

No response

Actual behavior

No response

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

GraalVM version (if different from Java)

No response

Quarkus version or git rev

3.2

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

@zakariafadili zakariafadili added the kind/bug Something isn't working label Oct 16, 2023
@quarkus-bot
Copy link

quarkus-bot bot commented Oct 16, 2023

/cc @FroMage (panache), @loicmathieu (panache)

@StephenOTT
Copy link

+1

1 similar comment
@vedantshetty
Copy link

+1

@FroMage
Copy link
Member

FroMage commented Feb 12, 2024

Ah yes, this is a recent HQL change indeed, we need to fix our query parsing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/panache kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants