[ 
http://issues.apache.org/jira/browse/DERBY-1291?page=comments#action_12378287 ] 

Anurag Shekhar commented on DERBY-1291:
---------------------------------------

JDBC4.0 data sources classes (DERBY-1137) extend from there respective jdbc3.0 
(or older classes). But EmbeddedConnectionPooled and EmbeddedXADataSource 
classes extend from DataSource so EmbeddedConnectionPooled40 and 
EmbeddedXADataSource40 are indirectly extending from DataSource. 

JDBC4.0 DataSource has introduced 3 new methods in DataSource. So 
EmbeddedConnectionPooled40 and EmbeddedXADataSource40  requirs this empty 
implementation of these method to have other wise they will remain abstract 
class. 

Changing the hirarchy will fix this problem. 

Thanks for pointing out about the discussion  on this topic. I will read trough 
the archive and will see if I am missing something.

>  Modify DataSource classes of Embedded Driver to seperate DataSource , 
> XADataSource and ConnectionPooledDataSource
> ------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1291
>          URL: http://issues.apache.org/jira/browse/DERBY-1291
>      Project: Derby
>         Type: Improvement

>     Versions: 10.2.0.0
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar

>


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