ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From macdoug1 <macdo...@swbell.net>
Subject How to use sqlMaps when passing just a string value?
Date Fri, 30 Mar 2007 04:15:31 GMT

I'm trying to pass an update function a string value to use in my sqlMap as
the value to my where clause.
update("updateCell", cellid)

<update id="updateCell" resultMap="result">
   update tablename set columnname = #value# where columnname = 3
</update>

I'm also trying to do the same thing with a delete and an insert. Any idea
on how the value that is passed into cellid gets into the #value#? I can't
seem to figure it out.
-- 
View this message in context: http://www.nabble.com/How-to-use-sqlMaps-when-passing-just-a-string-value--tf3490169.html#a9747043
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


Mime
View raw message