List<Map<String, Object>> resultSet = procedureMapper.executeSampleProcedure(id.value(),name); // 1つ目のResultSetを取得 List<Object> firstResultObjects = (List<Object>) resultSet.get(0); List<FirstResult> firstResults = new ArrayList<>(); for (Object obj: firstResultObjects) { FirstResult firstResult = (FirstResult) obj; firstResults.add(new FirstResult( new Id(firstResult.getId())), new Name(firstResult.getName()); } // 2つ目のResultSetを取得 List<Object> secondResultObjects = (List<Object>) resultSet.get(1); List<SecondResult> secondResults = new ArrayList<>(); for (Object obj: secondResultObjects) { SecondResult secondResult = (SecondResult) obj; secondResults.add(new SecondResult( new ItemId(secondResult.getItemId())), new ItemName(secondResult.getItemName()); } <mapper namespace="jp.xxx.api.infrastructure.mappers.SampleProcedureMapper"> <resultMap id="FirstResultSet" type="jp.xxx.api.infrastructure.models.FirstResultSet"> <result property="id" column="Id"/> <result property="name" column="Name"/> </resultMap> <resultMap id="SecondResultSet" type="jp.xxx.api.infrastructure.models.SecondResultSet"> <result property="itemId" column="ItemId"/> <result property="itenName" column="ItemName"/> </resultMap> <select id="executeSampleProcedure" resultMap="FirstResultSet,SecondResultSet" statementType="CALLABLE" > {call SampleProcedure(#{id,jdbcType=BIGINT,mode=IN}, #{name,jdbcType=VARCHAR,mode=OUT})} </select> </mapper>