In Part 2 of this tutorial series, you’ll learn how to execute SELECT
, INSERT
, UPDATE
, and DELETE
statements against an SQL database using JDBC. These actions are known as CRUD operations (Create, Read, Update, Delete) which form most of the functionality in an application.
Note: We’ll continue where the previous step of the tutorial left off, which means this article assumes you have a Connection
object ready. Refer to part 1 of this tutorial for more details. The source code is available on GitHub.