Connecting to databases with ambiguous paths to databases in the file system

Use the basic connection URL syntax only if the database path specified does not also point to a Derby database in the file system.

If this is the case, the connection attempt might fail or connect to the wrong database. Use the form of the syntax with the subsubprotocol to distinguish between the databases.

For example:
jdbc:derby:classpath:/products/boiledfood
Related concepts
Connecting to databases when the path is ambiguous because of databases in the classpath