0

I can get NHibernate (v2) to return and process a single SYS_REFCURSOR that contains my single resultset. Is it possible for multiple resultsets/SYS_REFCURSOR's in NHibernate? What would be the syntax of the .hbm.xml file to map multiple resultsets from the SYS_REFCURSOR's?

thanks.

4

1 回答 1

1

我相当肯定答案是否定的,这是不可能的。您有两个选项可以解决此问题:对两个存储过程使用 MultiQuery 来批处理调用或 2) 使用数据库连接和 ADO.NET。

于 2010-07-12T11:16:43.513 回答