This chapter explained how to write Java code that can manipulate—insert, read, update, delete—data in a database. It also provided a short introduction to the SQL language and basic database operations. The reader has learned what JDBC is, how to create and delete a database and a table, and how to write a program that manages data in a table.
In the next chapter, the reader will learn the concept of functional programming. We will provide an overview of functional interfaces that come with JDK, explain how to use them in lambda expressions, and look at how to use lambda expressions in datastream processing.