Skip to content

Support of nested cursors #566

@dsulimchuk

Description

@dsulimchuk

Hello!
Can myBatis support oracle nested cursors ? https://docs.oracle.com/cd/B19306_01/server.102/b14200/expressions005.htm

for example i have next select statement:

<select id="tt" statementType="PREPARED" resultType="hashmap">
SELECT 1 id
                ,CURSOR (SELECT LEVEL
                    FROM dual
                    CONNECT BY LEVEL &gt;= 5) coll
        FROM dual
</select>

and take a result = {COLL=oracle.jdbc.driver.OracleResultSetImpl@54c75937, ID=1}

please add support of evaluating nested cursors

Metadata

Metadata

Assignees

Labels

enhancementImprove a feature or add a new feature

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions