sqlmap - set a map to a parameterclass in iBatis -
what's difference between setting map , setting object parameterclass in ibatis?
means,
<update id="update" parameterclass="map"> update city set province_id = #province_id# id = #id# </update>
and
<update id="update" parameterclass="city"> update city set province_id = #province_id# id = #id# </update>
?
i not find difference when tested both.
i want set "map", scared ...
"map" in parameterclass="map"
alias "java.util.map". don't think because city class implements map interface?
Comments
Post a Comment