ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guido GarcĂ­a Bernardo <ggb...@tid.es>
Subject How to get a ResultSet using the resultClass attribute
Date Mon, 18 Dec 2006 16:37:47 GMT
Hello,

I would like to call an Oracle stored procedure that returns a REF
CURSOR for a given query, this way:

<procedure id="proc_cursor" parameterMap="query_map"
resultClass="java.sql.ResultSet">
    { ? = call web_utils.get_cursor( #query# ) }
</procedure>

I am having some problems with the resultClass, it seems like it doesn't
work...
Is it possible to use it with a ResultSet?   How could I retrieve a
ResultSet without changing the parameterMap?

Thank you very much,
Guido.

Mime
View raw message