Even though Java is an object-oriented programming language, data and object states are commonly stored in a relational database. Accessing a database and manipulating data in it therefore is a very important topic.
There are many brands of databases. To name a few: Oracle, Sybase, Microsoft SQL Server, Microsoft Access, PostgreSQL, HSQLDB, and MySQL. Every database server allows access through a proprietary protocol. As such, accessing different databases requires different skills. Fortunately for Java programmers, Java Database Connectivity (JDBC) is available for easy database and data manipulation. JDBC provides a uniform way of accessing different databases.
Java 7 comes with JDBC version 4.1. The ...