[ 
https://issues.apache.org/jira/browse/DERBY-4869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rick Hillegas updated DERBY-4869:
---------------------------------

    Attachment: derby-4869-02-aa-cs-ps-addBatch.diff

Attaching derby-4869-02-aa-cs-ps-addBatch.diff. This patch enforces the spec 
clarification that PreparedStatement.addBatch(String) and 
CallableStatement.addBatch(String) should raise exceptions. I will run 
regression tests.

This behavior was already enforced by the embedded driver. This patch makes the 
network driver enforce this behavior. In addition, a test case is added to 
verify this behavior.



Touches the following files:

---------

M      java/client/org/apache/derby/client/am/PreparedStatement.java

Make the network driver conform to the spec.

---------

M      
java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/StatementJdbc20Test.java

Add a test case verifying the correct behavior.


> Implement JDBC 4.1, the api increment introduced by Java 7
> ----------------------------------------------------------
>
>                 Key: DERBY-4869
>                 URL: https://issues.apache.org/jira/browse/DERBY-4869
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC
>            Reporter: Rick Hillegas
>         Attachments: derby-4869-01-ac-rs-getObject.diff, 
> derby-4869-02-aa-cs-ps-addBatch.diff, disable-tests.diff, 
> JDBC_4.1_Changes.html
>
>
> This is a master issue logged to track our work implementing JDBC 4.1, the 
> changes to the java.sql and javax.sql packages introduced by Java 7.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to