ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From C.Ze...@ads.it
Subject Re: Stored procedures returning a single value of basic type
Date Fri, 29 Sep 2006 14:37:11 GMT


C.Zecca@ads.it scritti il 29/09/2006 14:34:41

> Hi all.

[...]

> If I've understood well I should use queryForObject method to get an
> "object" from the DB. Normally queryForObject is used along with
resultMap
>
> I've realized that using resultMap is not suitable
>
> "The resultMap is responsible for mapping JavaBeans properties to the
> columns of a ResultSet produced by executing a query mapped
> statement."
>
> We have instead a single return value.

I have found the

"Get return value of stored procedure" thread and specifically the msg #
197
http://www.mail-archive.com/user-java@ibatis.apache.org/msg00197.html


I'm trying it.

ciao
Mime
View raw message