You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by "Clinton Begin (JIRA)" <ib...@incubator.apache.org> on 2004/12/16 15:38:26 UTC
[jira] Commented: (IBATIS-28) Support multiple results from Stored Procedures
[ http://nagoya.apache.org/jira/browse/IBATIS-28?page=comments#action_56777 ]
Clinton Begin commented on IBATIS-28:
-------------------------------------
A fair suggestion. It's been talked about before.
In your opinion, what would be returned from queryForObject() and/or queryForList()??
A collection of objects and/or collections and/or a combination of both?
Cheers,
Clinton
> Support multiple results from Stored Procedures
> -----------------------------------------------
>
> Key: IBATIS-28
> URL: http://nagoya.apache.org/jira/browse/IBATIS-28
> Project: iBatis for Java
> Type: Improvement
> Components: SQL Maps
> Versions: 2.0.8
> Environment: All
> Reporter: Christopher John Gores
>
> It seems there is no support for multiple results being returned by a stored procedure (i.e. statement.getMoreResults()). Unfortunately, that's a showstopper for my new project that needs to call legacy procedures.
> Suggested solution: Allow a statement to use an ordered collection of resultMaps, either by creating a new <resultMapSet> tag, allowing <resultMap> to nest, or by allowing the statement's resultMap attribute to hold a comma-separated list of resultMaps. The resulting object would have to be a List of mapped result objects.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira