O'Reilly logo

Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™ by Dan Scott, George Baklarz, Paul C. Zikopoulos

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

JBDC Program Structure

The following diagram shows the components of a JDBC application. Although not all of these components are required, there are three core actions in every application: loading the driver manager, connecting to the database, and issuing SQL statements.

The arrows represent the order in which the various JDBC calls are performed in an application. Solid lines represent steps that must be taken within an application. Broken lines represent optional steps available to the application developer. Connections, statements, and result sets should also be closed once they are no longer needed. This is highlighted by the close box symbols () in the diagram.

When an application starts, it must load the JDBC driver associated with Apache ...

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