ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ellis Miller <outlaw...@gmail.com>
Subject Re: Calling oracle procedure from Java using iBatis
Date Wed, 26 Aug 2009 23:45:37 GMT
Or pass/create procedure with out parameter and could test returning
"constant" to determine if missing return value is related to error.
Otherwise, use a Function as function requires return value and, again,
could simplify the testing regarding the prior post.

On Aug 26, 2009 3:28 PM, "Dan Turkenkopf" <dturkenk@gmail.com> wrote:

Hi Ant,

I'm not tremendously familiar with PL/SQL stored procedures, but it doesn't
look like you're returning anything from yours.

I think what's happening is the queryForObject method is looking for a
return parameter and not finding anything.

If the procedure really doesn't need to return anything, try invoking it
with the update method instead of the queryForObject.

On Wed, Aug 26, 2009 at 5:34 AM, Anta <antany84@gmail.com> wrote: > > Hi
All, > > I have a stored ...

Mime
View raw message