- View Offline
Author David Gassner explains how to choose a JDBC driver and connect to one or more databases. He also provides detailed instructions on reading, selecting, and updating data; calling stored procedures; managing data via JavaBean classes or with prepared statements; and working with metadata.
- Importing a MySQL database
- Connecting to databases
- Handling JDBC exceptions
- Looping through result sets
- Limiting the number of fetched rows
- Filtering data with prepared statements
- Calling stored procedures
- Inserting, updating, and deleting rows with prepared statements
- Using a persistent database connection
- Committing and rolling back transactions
Skill Level Intermediate
(musical tones) - [Voiceover] My name is David Gassner, and I'd like to welcome you to Java Database Integration with JDBC. JDBC is a set of Java interfaces and classes that will connect your application to nearly any relational database management system. I'll show you how to write Java code to connect to two different database management systems. Once connected, I'll describe how to loop through rows of retrieve data, and how to display their contents. I'll describe how to use preparedStatement objects to create parameterized SQL statements.
I'll then show you how to insert, update, and delete data, and how to dynamically acquire information about your database structure. I hope that this course will help you get started with this important Java API, and get ready to build data-aware, Java-based applications.