Re: OOP/OOD Philosophy



On 15 Jul 2005 09:44:49 -0700, "frebe"
<fredrik_bertilsson@xxxxxxxxxxx> wrote:

>> How long does it take to write an ODBC driver?
>
>I don't know about ODBC, but for JDBC it is very simple. It's a number
>of interfaces that you have to implement. Using Eclipse, it is done in
>less than an hour. Once you have done a JDBC that wrapps the real
>driver, you can easily inject your exception throwing code. The key
>things is that you only have to implement your driver once (if you
>don't find anyone who did it before), not for every application.
>
>Making wrapping JDBC drivers is also an excellt way to overcome
>differences between database vendors.

I don't know a lot about writing a JDBC driver. Do you have to parse
SQL? Or does the JDBC front-end do that for you?


-----
Robert C. Martin (Uncle Bob) | email: unclebob@xxxxxxxxxxxxxxxx
Object Mentor Inc. | blog: www.butunclebob.com
The Agile Transition Experts | web: www.objectmentor.com
800-338-6716


"The aim of science is not to open the door to infinite wisdom,
but to set a limit to infinite error."
-- Bertolt Brecht, Life of Galileo
.



Relevant Pages

  • Re: Unable to load JdbcOdbc library
    ... > expose a JDBC interface, ... > Using ODBCTEST program that comes with the Solaris ODBC driver, ... network protocol accessible. ...
    (comp.lang.java.databases)
  • Re: Possible Type Conversion Defect
    ... Specifically we are breaking due to the lack of conversion from BIGINT to ... Microsoft SQL Server 2000 JDBC driver. ... I'll agree that the JDBC API specifications could be a bit more precise. ... a JDBC driver attempts to convert the underlying data to the Java ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: Ora10 JDBC Driver with TIMESTAMP WITH LOCAL TIME ZONE
    ... >> Robert Klemme wrote: ... >>> driver is the newest driver for Ora 10.2. ... >>> JDBC driver I suspect it's a JDBC driver issue. ... > sets the session time zone of the connection and saves the session ...
    (comp.databases.oracle.misc)
  • Re: federate several datasources
    ... >>I want to federate several physical datasources, ... >>its JDBC driver. ... >>My idea is that this aggregator could be implemented as a special JDBC ... open-source databases such as MySQL, PostGreSQL, but this is outside the ...
    (comp.lang.java.databases)
  • RE: New JDBC 1.2 driver runs slower than JDBC 1.1; my db definition
    ... New JDBC 1.2 driver runs slower than JDBC 1.1; ... [PersonGID] ... While we did not specifically target performance with the v1.2 driver beyond the Adapative Buffering changes, I am surprised that you are seeing slower ... it looks like both your SELECT and UPDATE statement are restricted to a single table. ...
    (microsoft.public.sqlserver.jdbcdriver)