Database connection examples

The examples in this section use the syntax of the connection URL for use in an embedded environment.

This information also applies to the client connection URL in a client/server environment. For reference information about client connection URLs, see "java.sql.Connection interface" in the Java DB Reference Manual.

Related concepts
Creating, dropping, and backing up databases
Connecting to databases within the system
Connecting to databases outside the system directory
Conventions for specifying the database path
Special database access
Offering connection choices to the user
Related reference
Embedded Derby JDBC database connection URL