ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Maves <nathan.ma...@gmail.com>
Subject Re: IBatis + Stored Procedures
Date Tue, 08 Sep 2009 14:25:03 GMT
Post your parameter map and the actual exception you are getting.

On Tue, Sep 8, 2009 at 7:59 AM, jimmymac <james.mcguigan@sungardps.com>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: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>
>

Mime
View raw message