Murach's Beginning Java 2, SDK 1.4

This chapter shows how to use JDBC to store data in a database, and it shows how to retrieve data from a database.

Chapter 19 How to use JDBC to work with databases
How a relational database is organized 614
How a table is organized 614
How the tables in a database are related 616
How the fields in a database are defined 618
How to use SQL to work with the data in a database 620
How to query a single table 620
How to join data from two or more tables 622
How to modify data in a result set 624
How to access a database with Java 626
The four driver types 626
How to configure an ODBC data source 628
How to connect to a database 630
How to use Java to work with the data in a database 632
How to return a result set 632
How to move the cursor through a result set 634
How to return data from a result set 636
How to modify data in a result set 638
How to work with prepared statements 640
The Book Maintenance application 642
The user interface for this application 642
BookDB calls in the BookFrame and BookPanel classes 642
The code for the BookDB class 644
An introduction to working with meta data 648
How to work with meta data 648
How SQL data types map to Java data types 650
Perspective 652
t




Murach's Beginning Java 2

Learn more about this book

Add Book on CD to cart


See the Java SE 6 edition