You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dave Oxley (JIRA)" <ji...@apache.org> on 2009/11/10 04:15:32 UTC

[jira] Updated: (DBCP-303) getGeneratedKeys does not work

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

Dave Oxley updated DBCP-303:
----------------------------

    Attachment: DBCP-303.diff

> getGeneratedKeys does not work
> ------------------------------
>
>                 Key: DBCP-303
>                 URL: https://issues.apache.org/jira/browse/DBCP-303
>             Project: Commons Dbcp
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Dave Oxley
>             Fix For: 1.3
>
>         Attachments: DBCP-303.diff
>
>
> ResultSet rs = ps.getGeneratedKeys();
> if (rs.next())
> The ResultSet is always empty.
> I've tracked down the issue to PooledConnectionImpl.makeObject which doesn't call Connection.prepareStatement(String, int) when key._autoGeneratedKeys is not null. Patch to follow shortly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.