commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Oxley (JIRA)" <>
Subject [jira] Created: (DBCP-303) getGeneratedKeys does not work
Date Tue, 10 Nov 2009 03:11:32 GMT
getGeneratedKeys does not work

                 Key: DBCP-303
             Project: Commons Dbcp
          Issue Type: Bug
    Affects Versions: 1.3
            Reporter: Dave Oxley
             Fix For: 1.3

ResultSet rs = ps.getGeneratedKeys();
if (

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.

View raw message