I have database which has two tables
post: id post_name post_desc files: file_id file_name post_attachments post_id
As shown in the manual, you have to write a more complex query and change the mapper.
The request will be something like that :
select id, post_name, file_id, file_name as postName from post left outer join files
And your result map :