Broadcom-VMware
2V0-72.22 · Question #84
Which two statements are true regarding result set handling? (Choose two.)
The correct answer is C. JdbcTemplate can return each row of a ResultSet as a Map. D. RowMapper interface is used for mapping a single row of a ResultSet to an object. See the full explanation below for the reasoning.
Question
Which two statements are true regarding result set handling? (Choose two.)
Options
- AJdbcTemplate is configured with a default RowMapper.
- BJdbcTemplate can return each row of a ResultSet as a Set.
- CJdbcTemplate can return each row of a ResultSet as a Map.
- DRowMapper interface is used for mapping a single row of a ResultSet to an object.
- ERowMapper interface cannot be used for multiple row queries.
How the community answered
(39 responses)- A13% (5)
- B5% (2)
- C79% (31)
- E3% (1)
Community Discussion
No community discussion yet for this question.