Bug when mapping use association and recursive SQL request

Hi,

I think there is a bug where a mapper use association, and sql query use join on same table.
The same test with mybatis 3.1.1 is ok.

But when upgrade to mybatis 3.2.7, the test fails: expect a list of three elements but only one is present: the last of the resultset.

The bug is similar to issue 215, but here the resultMap is not recursive.