Post your parameter map and the actual exception you are getting.
On Tue, Sep 8, 2009 at 7:59 AM, jimmymac <[email protected]>wrote:
>
> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>