Database Features

Database Structure

An Apache Derby database contains objects such as tables, columns, indexes, and .JAR files. An Apache Derby database can also store its own configuration information.

An Apache Derby database is stored in files that live in a directory with the same name as the database (that is, the SAMPLE database is found in the SAMPLE directory). Database directories typically live in system directories.

Creating an Apache Derby Database

There is no CREATE DATABASE command within the Apache Derby environment. Instead, databases are created and accessed via the Apache Derby connection URL. The create=true option can be added to the connect statement to create the database.

Database Names

Database names within Apache Derby ...

Get Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.