Received: from candle.pha.pa.us (pgman@nav-43.dsl.navpoint.com [162.33.245.46]) by hub.org (8.10.1/8.11.0) with ESMTP id e9SKXkZ57533 for ; Sat, 28 Oct 2000 16:33:46 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id QAA18972; Sat, 28 Oct 2000 16:33:40 -0400 (EDT) From: Bruce Momjian Message-Id: <200010282033.QAA18972@candle.pha.pa.us> Subject: Re: jdbc documentation In-Reply-To: <39FB15D9.9F17B21C@bolina.hsb.se> "from Emil Assarsson at Oct 28, 2000 08:07:21 pm" To: Emil Assarsson Date: Sat, 28 Oct 2000 16:33:40 -0400 (EDT) CC: pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL77 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200010/34 X-Sequence-Number: 349 It is fixed in the current web copy. > There is a failing class name in the documentaion at: > PostgreSQL Programmer's Guide > 23. JDBC Interface > > "Loading the Driver > > Before you can connect to a database, you need to load the driver. There > are two methods available, and it depends on your code to the best one > to use. > > In the first method, your code implicitly loads the driver using the > Class.forName() method. For Postgres, you would use: > > Class.forName("postgresql.Driver"); " .... > > the last row should be: > > "Class.forName("org.postgresql.Driver"); " > > (just add the "org.") > > if I'm not totaly messed up ;-) > > Nice work! > Emil Assarsson > > > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026