spring MappingSqlQuery

I was reading folowing lines and I did not understand clearly.

Querying the database with a MappingSqlQuery
To model a query as an object, we subclass the MappingSqlQuery class.

Any ideas, resources,sample code,links, highly appreciated. thanks in advance
Who is Participating?
Sathish David Kumar NConnect With a Mentor ArchitectCommented:
Reusable query in which concrete subclasses must implement the abstract mapRow(ResultSet, int) method to convert each row of the JDBC ResultSet into an object.

Simplifies MappingSqlQueryWithParameters API by dropping parameters and context. Most subclasses won't care about parameters. If you don't use contextual information, subclass this instead of MappingSqlQueryWithParameters.

reffer this .....

objectsConnect With a Mentor Commented:
Its useful if you're not using JdbcTemplate. Typically you would use JdbcTemplate with a RowMapper instead
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.