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

Anurag Shekhar updated DERBY-1137:
----------------------------------

    Attachment: derby-1137_3.diff

This patch uses EmbedPooledConnection40 and EmbedXAConnection40 which is 
available as part of patch in
derby-1163.

This patch introduces the jdbc 4.0 implementation of XADataSource and 
ConnectionPoolDataSource
EmbedConnectionPoolDataSource40 extends from EmbedDataSource40 and 
EmbedXADataSource40 extends from
EmbedConnectionPoolDataSource40. 

Modifed classes
EmbedDataSource
EmbedXADataSource
      Moved part of the code to create RA to EmbeddedDataSource to share this 
beween EmbedXADataSource and 
EmbedXADataSource40.

xaHelper
      Added code to check if its running under jdk1.6 if it is tries to 
instantiate EmbedXADataSource40. If it fails assumes jdbc4.0 support is not 
available and continues with EmbedXADataSource.

Testcase
     Test suite xa will use 40 classes if running under jdk1.6 with jdbc4.0 
support available.


> Implement the new method introduced in CommonDataSource for Embedded Driver
> ---------------------------------------------------------------------------
>
>          Key: DERBY-1137
>          URL: http://issues.apache.org/jira/browse/DERBY-1137
>      Project: Derby
>         Type: Sub-task

>   Components: JDBC
>  Environment: jdk1.6 jdbc4.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>      Fix For: 10.2.0.0
>  Attachments: derby-1137.diff, derby-1137_2.diff, derby-1137_3.diff, stat.out
>


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

Reply via email to