O'Reilly logo

Java 7: A Beginner's Tutorial (Third Edition) 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 22

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 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 ...

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