ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jimmymac <james.mcgui...@sungardps.com>
Subject IBatis + Stored Procedures
Date Tue, 08 Sep 2009 13:59:57 GMT

I seem to be having an issue with mapping and stored procedures. I'm passing
in a value " O'Malley ". Shouldn't the use of  a prepared statement handle
the apostrophe? The API is returning a message of invalid character O' from
the DB2 database.

[code]
 <procedure id="SwipedCreditCard_insert"
parameterMap="SwipedCreditCard_procedureMap">
     {call ${sp.lib}.KLSCCAPI(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,  ?, ?, ?, ?, ?)}
   </procedure>
 [/code]
-- 
View this message in context: http://www.nabble.com/IBatis-%2B-Stored-Procedures-tp25346833p25346833.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message