On 30 Nov 2008, at 17:01, Sam Smoot wrote:

> Alex, I actually think DO is not where the JDBC support should live. A
> JdbcAdapter in DM (separate from the DataObjectsAdapter) using JDBC
> directly will be faster, and probably easier to maintain considering
> it will need to abstract syntax for new databases (MSSQL, Oracle, DB2,
> etc).


I actually think that's exactly where it should live. We need to  
abstract two things here, the actual low level adapter that allows you  
send queries and the part that abstracts all syntax stuff. I think the  
first part should definitely be part of do, just like it is now. The  
second part should be in DM itself, like the current adapters are now.  
This means we can also reuse that code for MSSQL, Oracle, DB2 and more  
whether they run on a JDBC backend or on top of a MRI/C layer.

-- 
Regards,

Dirkjan Bussink

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to