Java Database Integration with JDBC

with David Gassner
please wait ...
Java Database Integration with JDBC
Video duration: 0s 2h 51m Intermediate


Whether you're building a web- or desktop-based application with Java SE or Java EE, many Java applications need to integrate data from a relational database. This course describes how to read and manage data from relational databases such as MySQL and SQL Server using the Java Database Connectivity (JDBC) API.

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.

Topics include:
  • 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


(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.

please wait ...