Java Database Connectivity
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 are therefore a very important topic.
There are many brands of databases. To name a few: MySQL, MariaDB, Oracle, Sybase, Microsoft SQL Server, Microsoft Access, PostgreSQL, HSQLDB and Apache Derby. Derby is particularly interesting because it is included in the JDK. Every database engine allows access through a proprietary protocol. As such, accessing different databases requires different skills. Fortunately for Java programmers, Java Database Connectivity (JDBC) makes it easy to manipulate data in the database by providing a uniform ...