Java Reference
In-Depth Information
CHAPTER
11
A ccessing D atabases
U sing JDBC
Objectives
You will have
mastered the material in
this chapter when you can:
• Design a relational database
• Describe a persistent object
• Implement the Serializable interface
• Register an ODBC data source name
• Load a JDBC™ database driver and make a connection
• Drop tables and indexes in a database
• Create tables, indexes, and keys
• Create and execute a PreparedStatement object
• Perform an SQL database query and process the result set
• Serialize and deserialize an object
• Create a data access (DA) class
• Modify records with an SQL update
• Use a committed transaction to delete related records
• Test the StockTrackerDB data access class
 
Search WWH ::




Custom Search