Murach's Beginning Java 2, JDK 5
How to use JDBC to work with databases

Because databases are more flexible than files, they're used to store data for most serious business applications. So this chapter shows you how to use Java's JDBC facility to access the data in databases.

Chapter 21 How to use JDBC to work with databases
How a relational database is organized 720
How a table is organized 720
How the tables in a database are related 722
How the fields in a database are defined 724
How to use SQL to work with the data in a database 726
How to query a single table 726
How to join data from two or more tables 728
How to add, update, and delete data in a table 730
An introduction to Java database drivers 732
The four driver types 732

How to configure an ODBC driver

734
How to use Java to work with a database 736
How to connect to a database 736

How to return a result set

738
How to move the cursor through a result set 740
How to return data from a result set 742
How to modify data in a database 744
How to work with prepared statements 746
Two classes for working with databases 748
A utility class for working with strings 748

A class that works with a database

750
An introduction to working with metadata 756
How to work with metadata 756

How SQL data types map to Java data types

758




Murach's Beginning Java 2

Learn more about this book

Add this book to your cart



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.