<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "https://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="example.ItemMapper">
  <cache/>
  <select id="find" resultType="example.Item">
    SELECT id, label FROM item WHERE id = #{id}
  </select>
  <insert id="insert">
    INSERT INTO batch_item(id, label) VALUES (#{id}, #{label})
  </insert>
</mapper>
