Java DB Database Connection URLs
by, 03-10-2012 at 08:49 AM (1210 Views)
For Java DB, here is the given database connection URL syntax:
- subsubprotocol makes Java DB specific to search in class path, database, directory, memory or in JAR file. Typically it is omitted.
- databaseName is the database name to connect.
- attribute=value presents semicolon-separated optional attributes list. Such attributes make you able to give instructions to Java DB so that to perform tasks, like:
o Make the database which is specified, in the connection URL.
o Encrypt the database which is specified, in the connection URL.
o Specification of the directories so that to trace information and store logging.
o Specification of a user name/password to make connection to the database.