What is BatchPreparedStatementSetter?

What is BatchPreparedStatementSetter?

- Updating more than one row at a time, the BatchPreparedStatementSetter is used. This interface has setValues() and getBatchSize() exceptions. The getBatchSize() method is used to specify the number of statements to create.

Explain about BatchPreparedStatementSetter.

- If the user what to update more than one row at a shot then he can go for BatchPreparedStatementSetter. This interface provides two methods:
- setValues(PreparedStatement ps, int i) throws SQLException;

- int getBatchSize();
- The getBatchSize() tells the JdbcTemplate class how many statements to create. And this also determines how many times setValues() will be called.
What is RowCallbackHandler? and why it is used
RowCallbackHandler - ResultSet is generally used to navigate the records. The spring framework is provided with RowCallbackHandler interface....
What is JavaServer Faces,JSF?
What is JavaServer Faces,JSF? - Java Server Faces: JSF is a java based web application framework to simplify the user interface for JEE applications..
Define JSF Taglibs
JSF Taglibs - The JSF Taglibs are of two. HTML Tag lib, Core Tag lib. HTML Tag lib: This tag library contains all the tags that pertains all the tags that are to deal with forms and other HTML-specific stuff...
Post your comment