programming/ibatis mybatis

[ibatis] sql문 예제3 delete

labj 2013. 6. 25. 08:53

[ibatis] sql문 예제3 delete


<delete id="AuthGrpMenu.delete" parameterClass="java.util.Map">

<![CDATA[

DELETE FROM dbo.AUTH_GRP_MENU

]]>

<dynamic prepend="WHERE">

<isNotEmpty property="sAuthGrpCd" prepend="AND">

<![CDATA[

(AUTH_GRP_CD = #sAuthGrpCd#)

]]>

</isNotEmpty>

</dynamic>

</delete>



[ibatis] sql문 예제3 delete