ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clinton Begin <clinton.be...@gmail.com>
Subject Re: Backward compatibility with iBatis 2
Date Wed, 06 Jan 2010 17:41:00 GMT
Yes, stored procs are mapped exactly like every other statement in iBATIS 3,
but you set the statementType attribute to CALLABLE.

Page 22 discusses this a little (although I agree, not enough).

<insert id="myProc" statementType="CALLABLE">
{your java proc call here - same syntax as JDBC}
</insert>

Parameters can still be set to IN, OUT or INOUT.

We've eliminated the <procedure> element, as it wasn't descriptive enough.

Clinton


On Wed, Jan 6, 2010 at 1:50 AM, vishalj <VishalJ@ivycomptech.com> wrote:

>
> In that case what i is see is there is no more support for stored procedure
> ,as the docs dont talk about that .Or there is some other way for that
>
> stefcl wrote:
> >
> > The way working sessions are created is also quite different.
> > You won't be able to migrate to v3 just by updating the jar.
> >
>
> --
> View this message in context:
> http://old.nabble.com/Backward-compatibility-with-iBatis-2-tp27026789p27026810.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