LANGUAGE/Java & Groovy 2015. 9. 2. 15:32

 

/////////////////////////

///// MyBatis★★★

/////////////////////////

 

 

참조 : http://mybatis.github.io/mybatis-3/ko/index.html

 

 

<sqlMap></sqlMap>

<select id="" parameterType="" resultType=""></select>

<update id=""></update>

<delete id=""></delete>

<insert id=""></insert>

 

<sql id=""></sql>

<include refid="" />

 

///// resultMap

<resultMap>

 

 

///// 동적 SQL

//

<if test=""></if>

 

//

<choose>

<when test=""></when>

<when test=""></when>

<otherwise></otherwise>

</choose>

 

//

<resultMap id="" type=""></resultMap>

//

<bind name="pattern" value="" />

//

<set></set>

//

<trim prefix="" suffixOverrides=""></trim>

 

///// ibatis에서 가능

<isEmpty property="">

<isNotEmpty property="">

<isNotNull property="">

<isEqual property="" compareValue="">

<isNotEqual property="" compareValue="">

<isLessThan

<isParameterPresent prepend="">

<iterate property="" open="" close="" conjunction="" ></iterate>

 

///// mybatis에서

<foreach open="" close="" separator="" ></foreach>

 

 

'LANGUAGE > Java & Groovy ' 카테고리의 다른 글

JAVA 심화  (0) 2015.09.09
[Groovy]  (0) 2015.09.04
ibatis  (0) 2015.05.04
JDBC  (0) 2015.05.04
SWING  (0) 2015.05.04