Wow ! Sounds great !
That's exactly what I want :-)
When I was saying I'm perhaps lacking in knowledge... this was true !
Just a last question regarding the FULL auto-mapping : if I use the "columnPrefix" xml attribute on <association> and <collection> tags, shouldn't it fix the issue pointed in the example ?
That is to say, if I enrich the documentation example :
<select id="selectBlog" parameterType="int" resultMap="blogResult">
select
B.id,
B.title,
A.username as 'author.username',
from Blog B left outer join Author A on B.author_id = A.id
where B.id = #{id}
</select>
<resultMap id="blogResult" type="Blog">
<association property="author" columnPrefix="author." javaType="Author" resultMap="authorResult"/>
</resultMap>
<resultMap id="authorResult" type="Author">
<result property="username" column="author_username"/>
</resultMap>
wouldn't it nice ?
Thanks again though,
Frédéric Camblor

Jenkins community member & plugin commiter