Received: from localhost (IDENT:root@hectic-1.jpl.nasa.gov [128.149.68.203]) by hub.org (8.9.3/8.9.3) with ESMTP id JAA94108; Tue, 25 May 1999 09:26:21 -0400 (EDT) (envelope-from lockhart@alumni.caltech.edu) Received: from alumni.caltech.edu (lockhart@localhost [127.0.0.1]) by localhost (8.8.7/8.8.7) with ESMTP id NAA05469; Tue, 25 May 1999 13:27:43 GMT Sender: lockhart@hub.org Message-ID: <374AA54F.B1690FEB@alumni.caltech.edu> Date: Tue, 25 May 1999 13:27:43 +0000 From: Thomas Lockhart X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.0.36 i686) X-Accept-Language: en MIME-Version: 1.0 To: Peter T Mount CC: PostgreSQL Hackers List , PostgreSQL Docs List Subject: Re: [HACKERS] JDBC problem in the docs References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > I'm being asked the same question every so often, about the following > line: > Class.forName(postgresql.Driver); > People are asking why this isn't working. Obviously there should be quotes > in there, and I'm thinking that they are missing from the docs. > Class.forName("postgresql.Driver"); golem> grep -i Class.forName *.sgml jdbc.sgml:Class.forName() method. For Postgres, you would use: jdbc.sgml:Class.forName("postgresql.Driver"); And from the generated html: In the first method, your code implicitly loads the driver using the Class.forName() method. For Postgres, you would use: Class.forName("postgresql.Driver"); Not sure if it could be mentioned somewhere else? Or maybe we can make a general statement about how well people using Java follow directions :) - Thomas -- Thomas Lockhart lockhart@alumni.caltech.edu South Pasadena, California