his chapter explains and demonstrates how to manage – that is, insert, read, update, and delete – data in a database using a Java application. It also provides a short introduction to Structured Query Language (SQL) and basic database operations, including how to connect to a database, how to create a database structure, how to write a database expression using SQL, and how to execute these expressions.
The following topics will be covered in this chapter:
- Creating a database
- Creating a database structure
- Connecting to a database
- Releasing the connection
- Create, read, update, and delete (CRUD) operations on data