View RSS Feed

Java Database

Java DB Database Connection URLs

Rate this Entry
by , 03-10-2012 at 07:49 AM (1334 Views)
For Java DB, here is the given database connection URL syntax:

jdbc:derby:[subsubprotocol:][databaseName]
[;attribute=value]*

  • 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.

Submit "Java DB Database Connection URLs" to Facebook Submit "Java DB Database Connection URLs" to Digg Submit "Java DB Database Connection URLs" to del.icio.us Submit "Java DB Database Connection URLs" to StumbleUpon Submit "Java DB Database Connection URLs" to Google

Categories
JDBC

Comments