Index: arch.xml =================================================================== RCS file: /cvs/db/arch.xml,v retrieving revision 1.17 diff -u -r1.17 arch.xml --- arch.xml 3 Oct 2007 12:11:42 -0000 1.17 +++ arch.xml 5 Oct 2007 23:49:35 -0000 @@ -243,17 +243,23 @@

     <?xml version='1.0'?>
-    <!DOCTYPE connection PUBLIC '-//NetBeans//DTD Database Connection 1.0//EN' 'http://www.netbeans.org/dtds/connection-1_0.dtd'>
+    <!DOCTYPE connection PUBLIC '-//NetBeans//DTD Database Connection 1.1//EN' 'http://www.netbeans.org/dtds/connection-1_1.dtd'>
     <connection>
       <driver-class value='org.postgresql.Driver'/>
       <driver-name value='postgres-7'/>
       <database-url value='jdbc:postgresql:test'/>
       <schema value='public'/>
       <user value='test'/>
+      <password value='cGFzc3dvcmQ='/>
     </connection>
    

This file should be registered in the Databases/Connections folder of the module layer. + Note that the password is optional, but if you include it, it needs to be encoded using Base64 encoding + of a UTF-8 byte array. For most passwords where the characters map directly to UTF-8, an easy way to + accomplish this is to take your password and run it through + an online Base64 encoding tool like + http://www.motobit.com/util/base64-decoder-encoder.asp

Index: apichanges.xml =================================================================== RCS file: /cvs/db/apichanges.xml,v retrieving revision 1.8 diff -u -r1.8 apichanges.xml --- apichanges.xml 3 Oct 2007 12:11:42 -0000 1.8 +++ apichanges.xml 5 Oct 2007 23:49:35 -0000 @@ -107,6 +107,22 @@ + Allow user to save password + + + + + + This change updated the connection DTD to 1.1, adding a password + element. In the Database Explorer implementation, we allow the + user to indicate they want to save the password. This works across + invocations of the VM. + + + + + + Added utility class for working with SQL identifiers