O'Reilly logo

Java™ Oracle® Database Development by David J. Gallardo

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 9. Advanced JDBC Features

In the previous chapter, we covered the essential features of JDBC, most of which were introduced in the JDBC 1.0 specification, the version of JDBC included in JDK 1.1. In this chapter, we will learn additional JDBC 1.0 options, but we will also cover new features introduced in JDBC 2.0 and 3.0.

First, we will consider the different ways we can connect to a database. We will cover:

  • Different types of JDBC drivers

  • Different ways of supplying the connection information, such as the database URL, username, and password

  • The DataSource class, new in JDBC 3.0, that Sun recommends we use

Next, we will consider some additional ResultSet options that were introduced in JDBC 2.0:

  • Scrollability— the ability to navigate ...

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