cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrus Adamchik (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1874) DB2 Procedure action ignores the first result set
Date Mon, 23 Sep 2013 13:40:14 GMT

     [ https://issues.apache.org/jira/browse/CAY-1874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrus Adamchik updated CAY-1874:
---------------------------------

    Fix Version/s: 3.2M2
                   3.1B3

I moved this fix to a newly created DB2ProcedureAction - r1525585. Placing it in the generic
ProcedureAction will require more rigorous testing and very likely refactoring of OracleAdapter,
which I am not ready to do now. Once the fix is confirmed I am also going to commit it to
3.1 branch
                
> DB2 Procedure action ignores the first result set
> -------------------------------------------------
>
>                 Key: CAY-1874
>                 URL: https://issues.apache.org/jira/browse/CAY-1874
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.2M1
>         Environment: DB2
>            Reporter: Andrei Veprev
>             Fix For: 3.1B3, 3.2M2
>
>         Attachments: CAY-1874.patch
>
>
> Seems ProcedureAction ignores the first ResultSet after executing procedure call. The
first call in the result processing is getMoreResults() which, as documentation states, "implicitly
closes any current ResultSet". http://docs.oracle.com/javase/6/docs/api/java/sql/Statement.html#getMoreResults()
> Patch is attached.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message