aspose file tools*
The moose likes JDBC and the fly likes JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC" Watch "JDBC" New topic
Author

JDBC

Angela Jessi
Ranch Hand

Joined: Nov 27, 2000
Posts: 428
I just know that JDBC is Java Database Connectivity. But what is that? How can I download it? How can I attach JDBC to Java application or to database?
Thanks
Angela
Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
It's like ODBC, a standard way of connecting to databases. The necessary libraries come installed with the JDK and there's also a free JDBC-ODBC bridge driver to connect to databases that support ODBC.
I'm hoping someone else will elaborate on this matter.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
The easiest way to find out is to download the JDBC tutorial from Sun's site.

Bosun


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Rick Rodriguez
Ranch Hand

Joined: Jun 02, 2001
Posts: 44
Originally posted by Stanley Tan:
It's like ODBC, a standard way of connecting to databases. The necessary libraries come installed with the JDK and there's also a free JDBC-ODBC bridge driver to connect to databases that support ODBC.
I'm hoping someone else will elaborate on this matter.

I hope that I don't ask a stupid question here, but what is ODBC? I'll access the Sun Site to learn more, but is it like an API for a database?
Does every object oriented or non-object oriented programming language have its own ODBC, Java's being JDBC?
I would appreciate any feedback that you could give me. Thanks.
Stanley Tan
Ranch Hand

Joined: May 17, 2001
Posts: 243
Um, ODBC stands for Open DataBase Connectivity. Its a standard developed by microsoft for connecting to databases that understand ODBC. So we can interface to a database through ODBC instead of using native calls.
From Microsoft's web site:
<blockquote>
Open Database Connectivity (ODBC) is a widely accepted application programming interface (API) for database access. It is based on the Call-Level Interface (CLI) specifications from X/Open and ISO/IEC for database APIs and uses Structured Query Language (SQL) as its database access language.
</blockquote>
A good place to start learning about JDBC would be:
http://java.sun.com/docs/books/tutorial/jdbc/index.html
HTH,
Stanley Tan
 
 
subject: JDBC