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
ShedLock does not work with PostgreSQL JDBC Driver version 42.2.11 #207
Comments
Thanks for reporting, it's indeed the case. Will take a look at it. |
Caused by pgjdbc/pgjdbc#1729 |
Can be fixed by setting |
Thanks for the information! |
This is NOT. bug in the driver. This was done on purpose as the SQL Standard requires that errors be thrown if the transaction cannot be committed |
Fixed in 4.5.2 |
I am just going to leave some keywords here for someone googling this issue in future: ShedLock, Spring boot upgrade, PostgreSQL. We have upgraded Sprint Boot from v2.1 to v2.2 and got
|
FWIW PgJDBC 42.2.12 has been released and this change has been reverted. We (the PgJDBC group are recommending that 42.2.11 not be used and use 42.2.12 instead. |
shedlock-spring:4.5.1
shedlock-provider-jdbc-template:4.5.1
lockAtLeastFor = "PT10S",
lockAtMostFor = "PT120S"
Expected behavior
Shedlock can start without errors
Actual behavior
After an update on the latest PostgreSQL JDBC Driver JDBC 4.2 » 42.2.11 and deployment we found that Shedlock can not start because of error:
The text was updated successfully, but these errors were encountered: