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.
1. Installing Software
2. Getting Started with JDBC
3. Managing Database Resources
Handling JDBC exceptions7m 7s
4. Reading Data
5. Managing Data
6. Using Metadata
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.