Murach's Java SE 6
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 714
How a table is organized 714
How the tables in a database are related 716
How the fields in a database are defined 718
How to use SQL to work with the data in a database 720
How to query a single table 720
How to join data from two or more tables 723
How to add, update, and delete data in a table 724
An introduction to Java database drivers 726
The four driver types 726

How to configure an ODBC driver

728
How to use Java to work with a database 730
How to connect to a database 730

How to return a result set

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

A class that works with a database

746
An introduction to working with metadata 752
How to work with metadata 752

How SQL data types map to Java data types

754




Murach's Java SE 6

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.