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