O'Reilly logo

Java™ Application Development on Linux® by Michael Schwarz, Carl Albing

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 15. Accessing the Data: An Introduction to JDBC

Java provides a back-end-independent interface to databases called Java DataBase Connectivity classes, or JDBC. We introduce the basics of the system here, and illustrate portability that makes it possible for our application to switch between two different database back ends.

What You Will Learn

We will cover the basics of interaction with a database in Java. This involves

  • Establishing and tearing down connections to a database

  • Querying data in the database and reading the results

  • Performing other database operations that modify data, but do not return data results

We assume that you are familiar with simple SQL constructs.

Introducing JDBC

For many real-world applications, there are copious amounts ...

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