-
Notifications
You must be signed in to change notification settings - Fork 1.1k
DefaultLockRepository fails silently w/ PostgreSQL #8623
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
OK. Sounds like there is no automatic conversion from that type to temporal one on driver level. |
Well, That doesn't work because How about to see if you can move your PostgreSQL server to the latest one? The fix has been done in the
BTW, does it work with the current Spring Integration
Yeah... Probably if that works, and even if |
Looks like the driver doesn't support Therefore my assumption about bringing |
@artembilan |
In what version(s) of Spring Integration are you seeing this issue?
unreleased main
Describe the bug
In #8606
ttl
type moved toDuration
and is used withJdbcTemplate
, e.g.spring-integration/spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/lock/DefaultLockRepository.java
Lines 340 to 357 in 191f693
Acquire fails silently with PostgreSQL and propagated back to:
spring-integration/spring-integration-jdbc/src/main/java/org/springframework/integration/jdbc/lock/JdbcLockRegistry.java
Lines 174 to 198 in 191f693
and handled in the last clause:
with this exception:
Expected behavior
Should acquire the lock with PostgreSQL.
The text was updated successfully, but these errors were encountered: