Almost any nontrivial application contains a database of some sort. Some applications use in-memory databases, while others use traditional relational database management systems (RDBMSs) . Whatever the case, it is essential that every Java developer have some skills working with databases. Over the years, the Java Database Connectivity (JDBC) API has evolved quite a bit, and over the past couple of releases there have been some major advancements.
This chapter covers the basics of using JDBC for working with databases. You will learn how to perform all the standard database operations, as well as some advanced ...