The query mapper can use a generic row mapper that does the actual mapping. Thw row mapper can be used when dealing with rows only.