[ http://issues.apache.org/jira/browse/DERBY-100?page=all ]
Fernanda Pizzorno updated DERBY-100:
------------------------------------
Attachment: DERBY-100-2.diff
DERBY-100-2.stat
Thank you for looking into my previous patch.
In this new patch I have:
* changed moveToInsertRow in
java/engine/org/apache/derby/impl/jdbc/EmbedResultSet.java so that it will not
create a new blank row each time
* changed the sqlState I have added from CANNOT_INSERT_AT_CURRENT_POSITION to
NOT_POSITIONED_ON_INSERT_ROW
* changed the tests so that they will print sqlState and message for all
exceptions and walk down the SQLException chain
* added some more tests
* changed the behavior of insertRow when no updateXXX has been called before
insertRow is called. It now inserts a row with the row's default values.
Can someone please review this patch?
I have not updated the canon for updatableResultSet.java under j9_13 and
DerbyNet.
I have successfully run derbyall.
> Add support for insert functionality using JDBC 2.0 updatable resultset apis
> ----------------------------------------------------------------------------
>
> Key: DERBY-100
> URL: http://issues.apache.org/jira/browse/DERBY-100
> Project: Derby
> Type: New Feature
> Components: JDBC
> Versions: 10.1.1.0
> Reporter: Mamta A. Satoor
> Assignee: Fernanda Pizzorno
> Attachments: DERBY-100-2.diff, DERBY-100-2.stat, DERBY-100.diff,
> DERBY-100.stat
>
> The JDBC 2.0 API introduced the ability to update/delete/insert rows from a
> resultset using methods in the Java programming language rather than having
> to send an SQL command. This Jira entry is to track the insert rows
> functionality using JDBC 2.0 apis.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira