You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Anurag Shekhar (JIRA)" <de...@db.apache.org> on 2006/05/18 12:06:10 UTC

[jira] Updated: (DERBY-1214) JDBC4 calls in the Brokered* classes need to be forwarded to more capable classes.

     [ http://issues.apache.org/jira/browse/DERBY-1214?page=all ]

Anurag Shekhar updated DERBY-1214:
----------------------------------

    Attachment: derby-1214.diff

Description of Patch

Modifed classes

java/engine/org/apache/derby/iapi/jdbc/BrokeredPreparedStatement40.java
java/engine/org/apache/derby/iapi/jdbc/BrokeredConnection40.java

Modified to forward all the calls to methods of Embedded classes.

java/testing/org/apache/derbyTesting/functionTests/harness/RunList.java
java/testing/org/apache/derbyTesting/functionTests/harness/RunTest.java
java/testing/org/apache/derbyTesting/functionTests/util/TestConfiguration.java

Modified to pass junit.xa.single property to the test application as system property. This property will be mentioned in test.property file if the test needs to be executed in single leg xa transaction (to test brokered classes). 

java/testing/org/apache/derbyTesting/functionTests/util/BaseJDBCTestCase.java

Modified to return java.sql.Connection obtained from XAConnection if junit.xa.single is set as true.


Note: I have created a seperate sub task in this to create a test suite which executes jdbc4 tests suite to test brokered classes.

> JDBC4 calls in the Brokered* classes need to be forwarded to more capable classes.
> ----------------------------------------------------------------------------------
>
>          Key: DERBY-1214
>          URL: http://issues.apache.org/jira/browse/DERBY-1214
>      Project: Derby
>         Type: New Feature

>   Components: JDBC
>     Versions: 10.2.0.0
>     Reporter: Rick Hillegas
>     Assignee: Anurag Shekhar
>  Attachments: derby-1214.diff
>
> Currently, the JDBC4 methods in the Brokered* classes raise SQLFeatureNotSupported. They should, where appropriate, forward their calls to more capable classes.

-- 
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