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