Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      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.

        Activity

        Dave Oxley created issue -
        Dave Oxley made changes -
        Field Original Value New Value
        Attachment DBCP-303.diff [ 12424433 ]
        Mark Thomas made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Phil Steitz made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Dave Oxley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development