You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by JJ Stuart <jj...@yahoo.com> on 2010/01/15 11:51:00 UTC

Calling MySql function using IBatis 3

Having issues calling below function and retrieving the result. Can some help
(esp with XML set up )


CREATE FUNCTION test_function (param int) RETURNS int
BEGIN
	
	RETURN param + 1;
END;



Thanks
-- 
View this message in context: http://old.nabble.com/Calling-MySql-function-using-IBatis-3-tp27174759p27174759.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


Re: Calling MySql function using IBatis 3

Posted by Guy Rouillier <gu...@burntmail.com>.
On 1/15/2010 5:51 AM, JJ Stuart wrote:
>
> Having issues calling below function and retrieving the result. Can some help
> (esp with XML set up )
>
>
> CREATE FUNCTION test_function (param int) RETURNS int
> BEGIN
> 	
> 	RETURN param + 1;
> END;
>

Have you taken a look at the FAQ on stored procs?

http://opensource.atlassian.com/confluence/oss/display/IBATIS/How+do+I+call+a+stored+procedure

Show us what you have so far, and perhaps we can make suggestions.

-- 
Guy Rouillier

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