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

Support SPEL expressions inside SQL queries #1270

Closed
BoykoAlex opened this issue Jun 12, 2024 · 1 comment
Closed

Support SPEL expressions inside SQL queries #1270

BoykoAlex opened this issue Jun 12, 2024 · 1 comment
Assignees

Comments

@BoykoAlex
Copy link
Contributor

Spring Data Query annotations can have SQL if nativeQuery=true is present.
This embedded SQL can have embedded SPEL expressions. Syntax highlighting and validation for such SQL queries isn't working yet (it does for HQL and JPQL though)

@BoykoAlex
Copy link
Contributor Author

MySQL and PostgreSQL is supported with parameters including SPEL. Syntax highlighting and validation. If mysql-connector-* is on the classpath then MySQL support is in action if postgresql is on the classpath then PostgreSQL support is working. If it is nether MySQL nor PostgreSQL then only syntax highlighting for MySQL is active for native queries.
(See 4361299 and fcbd052)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants