db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Francois Orsini (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-947) Miscellaneous PreparedStatement methods added by JDBC4
Date Wed, 08 Mar 2006 13:36:40 GMT
    [ http://issues.apache.org/jira/browse/DERBY-947?page=comments#action_12369442 ] 

Francois Orsini commented on DERBY-947:

Here are the changes to address JIRA DERBY-947.

Uploaded DERBY-947-v1.diff which implements PreparedStatement.isPoolable() and
PreparedStatement.isPoolable()  on embedded and client sides.

Added some test cases to jdbc4/TestPreparedStatementMethods.java.

There is a FIXME in some of the unit test logic as a reminder  to use Statement.isClosed()
instead of a local hint when it is implemented as part of JIRA DERBY-953 - Also, the proper
SQL State should be checked against to detect if the exception is due to a statement that
has already been closed - right now, the proper SQLState for a statement already closed is
only set in embedded - There is already a JIRA to fix SQLState on some of the client side

I have run the jdbc4 suite as well as derbyall on Windows XP / Sun JVM 1.6.0_b72 without errors.

Let me know of your comments. Thanks.

> Miscellaneous PreparedStatement methods added by JDBC4
> ------------------------------------------------------
>          Key: DERBY-947
>          URL: http://issues.apache.org/jira/browse/DERBY-947
>      Project: Derby
>         Type: New Feature
>   Components: JDBC
>     Reporter: Rick Hillegas
>     Assignee: Francois Orsini
>      Fix For:
>  Attachments: DERBY-947-v1.diff, DERBY-947-v1.stat
> As described in the JDBC 4 spec sections 13.2 and 3.1.
> This involves building support for JDBC4 methods added to PreparedStatement and not addressed
by other JIRAs: isPoolable() and setPoolable().

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