db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "ReferenceManualTenTwo" by MamtaSatoor
Date Tue, 03 Oct 2006 14:49:06 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by MamtaSatoor:
http://wiki.apache.org/db-derby/ReferenceManualTenTwo

------------------------------------------------------------------------------
  
  ||'''Sub Section''' || '''HTML Url''' or '''PDF Page''' || '''Reviewer'''|| '''Comment'''
||'''Resolution''' ||
  || ||  || || || ||
- ||Derby database connection URL syntax || [http://db.apache.org/derby/docs/10.2/ref/ref-single.html#N2D4F2]
|| Mamta || The syntax of the database connection URL shows databasename as optional. Is that
correct? I tried following in ij connect 'jdbc:derby:'; and got exception ERROR XJ004: Database
'' not found. Actually, further reading of the reference manual shows this is not an issue.
It is possible to not specify the databasename in the url and specify the database name information
through a Properties object. This is covered in [http://db.apache.org/derby/docs/10.2/ref/rrefattrib17246.html].
Also, when user wants to shutdown the entire Derby system, no databasename will be specified.
|| ||
  ||Attributes of the Derby database connection URL || [http://db.apache.org/derby/docs/10.2/ref/ref-single.html#N2D6D9]
|| Mamta || This section has 3 examples of setting attributes on database connection URL using
Java. One minor suggestion is we should use Java commenting scheme ie /*..*/ instead of --
in this sample code. || ||
  || encryptionKey section under Setting attributes for the database connection URL || [http://db.apache.org/derby/docs/10.2/ref/rrefattribencryptkey.html]
|| Mamta || The pdf page for encryptionKey has incomplete example. The pdf page only shows
jdbc:derby:newDB;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding; The
corresponding html page shows the correct example which looks as follows jdbc:derby:newDB;create=true;dataEncryption=true;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666768
|| ||
  

Mime
View raw message