Open ltkn opened 4 years ago
Will have a look... no guarantees on timing:) but that should be doable
And thanks for the feedback. I only use a small portion of it and ideas are very welcomed
Great news thanks!
It's not urgent as it's easy to do with a manual update query, just a nice feature to have ;)
Hi,
First thanks a lot for this fantastic library, we are using it successfully for many projects with spring boot jdbc (it has replaced hibernate).
Would you consider adding optimistic locking to JdbcTemplateCrud update method ?
Optimistic locking queries look like this:
column 2 can be an integer or date that is incremented upon successful update.
The idea would be to support this using JdbcTemplateCrud, not too sure about the method contract or technical challenge but this could look like :
the possible complexity might be related to the use of the same column twice in the sql statement with 2 different values.
Thanks!