Passing arguments to queries.
RowMapper & ResultSetExtractor.
RowMapper is used for simple objects where a row from query-result is mapable to an object.
ResultSetExtractor can be used for queries (Joins, group-by, ...) that result in multiple related rows.
Query, QueryForObject, update, batchUpdate methods.