Creating a connection without specifying attributes If no attributes are specified, you must specify a databaseName. database connection URL attributes attributesdatabase connection URL

opens a connection to an existing database with that name in the current system directory. If the database does not exist, the connection attempt returns an SQLException indicating that the database cannot be found.

Example jdbc:derby:mydb