Search Results for 'resultMap'

1 POSTS

  1. 2007.08.16 iBatis resultMap의 구조(?)

iBatis resultMap의 구조(?)

Posted 2007. 8. 16. 16:54
다중테이블에 대한 조인을 처리하면서 관심을 갖게된 resultMap의 속성을 좀더  파헤쳐 보자.

<resultMap id=”resultMapName” class=”your.domain.Class”
[extends=”parent-resultMap-id”] <== 상속받을 클래스를 정의한 resultMap id
[groupBy=“some property list”]>  <== group by List?
<result property=”propertyName” column=”COLUMN_NAME”
[columnIndex=”1”] [javaType=”int”] [jdbcType=”NUMERIC”]
[nullValue=”-999999”] [select=”someOtherStatement”]
[resultMap=“someOtherResultMap”]
[typeHandler=“com.mydomain.MyTypehandler”]
/>
</resultMap>

음 상세한 의미와 사용법은 좀더 테스트를 해보거나 찾아봐야겠다.