db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-948) Miscellaneous ResultSet methods added by JDBC 4
Date Thu, 02 Mar 2006 13:19:42 GMT
     [ http://issues.apache.org/jira/browse/DERBY-948?page=all ]

Knut Anders Hatlen updated DERBY-948:

    Attachment: DERBY-948-v3.diff

I investigated the possibility for null pointer exceptions
further. The only result sets that return null in getStatement() are
those created by getNewRowSet() and getOldRowSet() in
InternalTriggerExecutionContext. Those result sets are not exposed to
JDBC applications, so applications can't call getHoldability() on them
anyway. However, I updated the patch with a comment about the null
case, and made getHoldability() return CLOSE_CURSORS_AT_COMMIT instead
of throwing NullPointerException.

> Miscellaneous ResultSet methods added by JDBC 4
> -----------------------------------------------
>          Key: DERBY-948
>          URL: http://issues.apache.org/jira/browse/DERBY-948
>      Project: Derby
>         Type: New Feature
>   Components: JDBC
>     Reporter: Rick Hillegas
>     Assignee: Knut Anders Hatlen
>      Fix For:
>  Attachments: DERBY-948-v1.diff, DERBY-948-v1.stat, DERBY-948-v2.diff, DERBY-948-v2.stat,
DERBY-948-v3.diff, DERBY-948-v3.stat
> As described in the JDBC 4 spec sections 16 and 3.1.
> This provides support for new ResultSet methods added by JDBC4 and not addressed by other
JIRAs: getHoldability() and isClosed().

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message