Spring / Spring Data Access
What is PreparedStatementCreator in Spring Data framework?
PreparedStatementCreator is one of the most commonly used interfaces for writing data to the database. createPreparedStatement() is a method that can be used to create and return PreparedStatement from the Connection argument, and exception handling is automatically taken care of. When this interface is implemented, a different interface SqlProvider can also be implemented which has a method called getSql().
This method is useful for providing sql strings to the JdbcTemplate. It does not handle SQLExceptions.
More Related questions...