Aids for Learning to Use the JDBC API: Java Database
1) What Java Database Connectivity (JDBCTM) and Open Database Connectivity (ODBC) are;
2) How to use JDBC to connect to a relational database:
3) How to execute SQL queries on the database;
4) How to handle the results of a query;
5) How to view the structure of a database using metadata.
The tutorial includes a complete example.