Why don't XADataSource and ConnectionPoolDataSource extend the DataSource interface?
Joined: Feb 25, 2003
Can someone explain this logic to me? Why aren't they all DataSources? Wouldn't it have made more sense and cleaner code to have them all be DataSources so that the common elements could be handled the same way and the diff. elements could be handled by casting when needed? Am I missing something?
Joined: Jun 26, 2002
I was wondering that myself. I recently coded a jdbc driver for jamon and looked into doing a DataSource, but found it all to be quite confusing. Also it would have been nice if somehow DataSources would have leveraged the Driver interface somehow.