O'Reilly logo

Java: A Beginner’s Tutorial, 4th Edition (Updated for Java SE 8) by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 21

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, 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 way of accessing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required