2009年2月20日金曜日
2009年2月12日木曜日
2009年2月4日水曜日
groupBy
<resultMap id="resultMap" class="XXX" groupBy="key" >
<result column="KEY" property="key" jdbcType="BIGINT" />
<result column="XXX" property="XXX" jdbcType="VARCHAR" />
groupBy指定のプロパティで一意のレコードに変換してくれる。
便利。
登録:
投稿 (Atom)