<select id="findAll" resultType="com.pojo.Pod">
select
a.id,
a.name,
a.create_date,
a.user_name as 'user.name'
a.user_phone as 'user.phone'
from t_pod a
</select>
構成
mybatis.configuration.map-underscore-to-camel-case=true
mybatis でドット、自動マッピングをサポートしてほしい。
class Pod {
int id;
String name;
User user;
}