I am trying to test out Mybatis\'s user manual with the result map section. Mybatis version : mybatis-3.1.0
Because there is not an author_id column in the result got from getBlog.
Try:
select b.id, b.title, b.author_id from blog b where b.id = #{id}