-
Notifications
You must be signed in to change notification settings - Fork 307
Cannot Use H2 Version 2.0.202 #821
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
Comments
The application fails because H2 does not allow Oracle-style NEXTVAL on sequences as of 2.0.x unless legacy compatibility mode is activated: http://www.h2database.com/html/features.html You can activate the mode by appending your JDBC URL with
in your |
Thank you for opening the issue. |
This issue was resolved with the following PR. Use strict H2 query syntax for paging query provider #822 |
I tried to use H2 Version 2.0.202. in order to mitigate https://nvd.nist.gov/vuln/detail/CVE-2021-23463, simply by adding this section to my Spring cloud task pom file, initially generated with spring intializr https://start.spring.io/
It complains that TASK_SEQ.nextval is not found, which is strange because I can see that the db is initialized correctly
Here is the stack trace:
Can you please take a look? I also think that upgrading the H2 version in Spring Cloud Task base would be a good idea given the high score of the vulnerability.
The text was updated successfully, but these errors were encountered: