FYI, I haven't been able to work on this patch because I can't get
access to JIRA to pull down the patch. I've reported the problem to
[EMAIL PROTECTED]
David
David Van Couvering (JIRA) wrote:
[ http://issues.apache.org/jira/browse/DERBY-953?page=comments#action_12371440 ]
David Van Couvering commented on DERBY-953:
-------------------------------------------
I could be stubborn about my point of view, but I think that's not worthwhile.
Dan has a good point, and Kristian has also pointed out to me that there are
exceptions all the way down so there's no way to avoid catching an exception.
So I must humbly apologize to Kristian and say I think I have to agree with Dan
that the first patch is simpler and is more in line with ResultSet.isClosed().
I would like it to check for a *specific* SQL State (e.g.
SQLState.NO_CURRENT_CONNECTION) rather than swallow any old exception. I'll
make that change and commit.
David
Add miscellaneous Statement methods introduced by JDBC 4
--------------------------------------------------------
Key: DERBY-953
URL: http://issues.apache.org/jira/browse/DERBY-953
Project: Derby
Type: New Feature
Components: JDBC
Reporter: Rick Hillegas
Assignee: Kristian Waagan
Fix For: 10.2.0.0
Attachments: DERBY-953-1a.diff, DERBY-953-1a.stat, DERBY-953-2a.diff,
DERBY-953-3a.diff
As described in the JDBC 4 spec, sections 13.1 and 3.1.
This adds support for new Statement methods added by JDBC4 and not addressed by
other JIRAs: isClosed() and getResultSetHoldability().
begin:vcard
fn:David W Van Couvering
n:Van Couvering;David W
org:Sun Microsystems, Inc.;Database Technology Group
email;internet:[EMAIL PROTECTED]
title:Senior Staff Software Engineer
tel;work:510-550-6819
tel;cell:510-684-7281
x-mozilla-html:TRUE
version:2.1
end:vcard