Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f2INGrY11837 for ; Sun, 18 Mar 2001 18:16:53 -0500 (EST) (envelope-from pgsql-docs-owner@postgresql.org) Received: from fep01-svc.swip.net (fep01.swip.net [130.244.199.129]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f2IKOgx61827 for ; Sun, 18 Mar 2001 15:24:43 -0500 (EST) (envelope-from bjorn.lundin@swipnet.se) Received: from della.lundin ([212.151.48.186]) by fep01-svc.swip.net (InterMail vM.5.01.02.00 201-253-122-103-101-20001108) with SMTP id <20010318202437.GWRS7075.fep01-svc.swip.net@della.lundin> for ; Sun, 18 Mar 2001 21:24:37 +0100 From: =?iso-8859-1?q?Bj=F6rn=20Lundin?= Date: Sun, 18 Mar 2001 21:23:20 +0100 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: pgsql-docs@postgresql.org Subject: Error in programer's guide JDBC chap 23 MIME-Version: 1.0 Message-Id: <01031821232000.01401@della.lundin> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/85 X-Sequence-Number: 518 Hi! I've found an error (Ithink) in the section JDBC Interface in programmer's guide. The document has no version, but IU downloaded it from postgreSQL 2-3 moths ago, so it migth be corrected by now. It's about Loading the Driver , page 207 at the bottom. says Class.forname("postgresql.Driver"); BUT I think it should be Class.forName("org.postgresql.Driver").newInstance(); i.e the org is forgotten. At least if you run 7.0.2-7.0.3 on a Mandrake Linux 7.2 system This I found out by looking at the jar file with an hex editor. trying what the documentaion said did not work. Also I wonder if the next page is correct, Connecting to the Database. It says (describing different types of URLs) jdbc:postgresql://hostport/database. Now, shouldn't there be something in between host and port ? I haven't tried (no network) but it looks akward to me. Björn Lundin bjorn.lundin@swipnet.se