Re: jdbc help:sun.jdbc.odbc.JdbcOdbcDriver
From: Lee Fesperman (firstsql_at_ix.netcom.com)
Date: 08/13/04
- Next message: Pavel: "Referencing attributes from nested templates in struts tiles"
- Previous message: Lee Fesperman: "Re: Class.forname()"
- In reply to: Madhur Ahuja: "jdbc help:sun.jdbc.odbc.JdbcOdbcDriver"
- Next in thread: Keith Wansbrough: "Re: jdbc help:sun.jdbc.odbc.JdbcOdbcDriver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 13 Aug 2004 21:34:19 GMT
Madhur Ahuja wrote:
>
> Hello
> * I have just started JDBC in java. I am still learning the basics. One
> thing I am confused about is the implementation of java.sql.*.
> Are the implementation of java.sql.* class provided by
> the sun itself or they are provided by database vendor.
The interfaces in java.sql.* are implemented by the provider of the JDBC driver (which
need not be the database vendor). The provider may be Sun ... see below. The provider of
the JDBC driver may also subclass certain classes in java.sql.*.
> * I downloaded the level4 driver of mysql and observed that
> it contains classes like DriverManager and all those under
> java.sql.*.
It also provides the interfaces in java.sql.* but with no implementation.
> * I also saw similar files in src.zip of java distribution.
> I am confused, what is the difference between the two and the one
> contained in the src.zip are for which database.
>
> * I saw code which accesses *access database* using this url
> sun.jdbc.odbc.JdbcOdbcDriver . who provides this implementation
> sun or microsoft.
sun.jdbc.odbc.JdbcOdbcDriver and associated implementation of java.sql.* interfaces are
provided by Sun with the SDK. Microsoft and others also provide JDBC/ODBC drivers.
> where can I find the documentation of sun.* classes like I have those of
> java.* classes. I have pdf file of JDBC Api specification but not
> the ones like framed interfaces of java.* html pages.
Often, providers of JDBC drivers will not supply Javadocs for their drivers, depending
on the Javadocs for java.sql.* for primary information. They generally provide
non-Javadoc documentation describing features supported and formats for connection
properties including the connection URL.
-- Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com) ============================================================== * The Ultimate DBMS is here! * FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
- Next message: Pavel: "Referencing attributes from nested templates in struts tiles"
- Previous message: Lee Fesperman: "Re: Class.forname()"
- In reply to: Madhur Ahuja: "jdbc help:sun.jdbc.odbc.JdbcOdbcDriver"
- Next in thread: Keith Wansbrough: "Re: jdbc help:sun.jdbc.odbc.JdbcOdbcDriver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|