apache > db
Apache DB Project
Font size:      

Database connection URL

Database connection URL

For the Derby-provided driver listed above, here is the format for the database connection URL for connecting to an existing database:

  • jdbc:derby:databaseName;URLAttributes

The italicized items stand for something the user fills in:

  • databaseName

    The name of the database you want to connect to

  • URLAttributes

    One or more of the supported attributes of the database connection URL, such as ;locale=ll_CC or ;create=true. For more information, see the Derby Developer's Guide.

Previous Page
Next Page
Table of Contents