O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

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

Introduction

The java.sql.Connection object is a required part of any database interaction with JDBC. The Connection object represents the physical connection to the database, usually using an underlying network connection, and is responsible for maintaining and managing the connection.

Though the Connection represents a physical connection, the process of obtaining a connection may not represent the creation of a physical connection to the database, since connection pooling may simply use an existing connection instead of creating a new connection.

A Connection object can provide information about the tables in the database, the supported SQL grammar, the stored procedures available, and the general capabilities of the database connection by ...

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