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

Log warning when SQL Ops are used in JPQLSerializer #2666

Closed
jwgmeligmeyling opened this issue Oct 14, 2020 · 0 comments · Fixed by #2708
Closed

Log warning when SQL Ops are used in JPQLSerializer #2666

jwgmeligmeyling opened this issue Oct 14, 2020 · 0 comments · Fixed by #2708
Assignees
Projects
Milestone

Comments

@jwgmeligmeyling
Copy link
Member

I see a lot of comments / questions from users that combine querydsl-jpa and querydsl-sql and magically expect SQL operators (like statistical functions or window functions) to "just work" in JPQL, even though standard function support in JPA is very limited. For these to work, users have to register these functions as custom functions in their ORM as well as extend JPATemplates to pass through these functions.

To prevent absolute pollution of Stack Overflow and our issue tracker, I suggest we simply log a warning when the JPQLSerializer traverses an Operation from the com.querydsl.sql package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
5.x
  
Awaiting triage
Development

Successfully merging a pull request may close this issue.

1 participant