Hello All,
Can anyone tell me the best way to get the data and fill up my Business Value objects using JdbcTemplate
Method i am following is.
1. Wire and get the handle to JdbcTemplate
2. use
this.jdbcTemplate.query(queryBuffer.toString(), bindingValues, new RowMapperImplementedClass());
3. RowMapperImplementedClass implements RowMapper
4. This class will implement mapRow method
IS THERE ANY BETTER WAY OF DOING THIS.. My requirement is
1. Use JdbcTemplate
2. Keep the query outside in a xml
3. Dont have to code for setting values back in VO....
I am very new to the Spring/Hibernate world..
Please help...
thanks in advance
- Prasad -


Reply With Quote
.