spring-batch
spring-batch copied to clipboard
Refactor JDBC DAOs to use named parameters instead of positional parameters
It will eliminate duplicate parameters from java code although JDBC prepared statement does not.
And migrate from JdbcTemplate to NamedParameterJdbcTemplate or fluent JdbcClient?
Using named parameters is indeed better. And I think moving the fluent JdbcClient would be better as well.
This is a good candidate for v6. Contributions are welcome!
Using named parameters is indeed better. And I think moving the fluent
JdbcClientwould be better as well.This is a good candidate for v6. Contributions are welcome!
I've submitted several PRs to improve JDBC DAOs, could you review them when you are free? It will help for contributing on this proposal.
@quaff Yes I saw that's amazing! Thank you for all your contributions, really appreciated!
I will let you know when they are merged so you can proceed with this.