Re: Database programming with Java
From: Tony Morris (dibblego_at_optusnet.com.au)
Date: 01/15/04
- Next message: Lee: "Creating files in directories that don't exist : problems"
- Previous message: Michiel Konstapel: "Re: filenames with non ascii characters"
- In reply to: Gerbrand van Dieijen: "Re: Database programming with Java"
- Next in thread: Christophe Vanfleteren: "Re: Database programming with Java"
- Reply: Christophe Vanfleteren: "Re: Database programming with Java"
- Reply: Wendy S: "Re: Database programming with Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Jan 2004 14:08:41 +1000
There is only one way to access a database from Java, and that is JDBC.
JDBC is not equivalent to ODBC except that provides a common functionality
(the ability to access a database).
If one were to attempt to issue database commands using the proprietrary
database protocol (which is possible), one would effectively be writing a
JDBC driver that is non-compliant with the specification.
If you are going to use JDBC, it would pay to learn how it works, the
specification, and the API involved.
-- Tony Morris (BInfTech, Cert 3 I.T., SCJP[1.4], SCJD) Software Engineer IBM Australia - Tivoli Security Software (2003 VTR1000F) "Gerbrand van Dieijen" <gerbrand@twistedPUNTwarande.net> wrote in message news:slrnc0c214.kpa.gerbrand@bellatrix.students.cs.uu.nl... > On Wed, 14 Jan 2004 22:41:39 GMT, Christophe Vanfleteren wrote: > >John O'Conner wrote: > > >It won't matter which DB you'll use (you can even use Acces), you only need > >to learn JDBC, which will behave the same for all RDBMS's out there (the > >actual SQL you'll write is dependent on the DB offcourse). > >You can find a JDBC tutorial at > >http://java.sun.com/docs/books/tutorial/jdbc/ > > > > This is not true, you can access databases under Java in many ways. > JDBC is just a standard equivalent of ODBC, and mostly used probably, > but not the only one. > Many database access libraries for Java use JDBC underneith them, but > you'll won't have to learn JDBC to use them. > > -- > Gerbrand van Dieijen >
- Next message: Lee: "Creating files in directories that don't exist : problems"
- Previous message: Michiel Konstapel: "Re: filenames with non ascii characters"
- In reply to: Gerbrand van Dieijen: "Re: Database programming with Java"
- Next in thread: Christophe Vanfleteren: "Re: Database programming with Java"
- Reply: Christophe Vanfleteren: "Re: Database programming with Java"
- Reply: Wendy S: "Re: Database programming with Java"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|