pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Emil Assarsson <emil.assarsson@bolina.hsb.se>
Cc: pgsql-docs@postgresql.org
Subject: Re: jdbc documentation
Date: Sat, 28 Oct 2000 16:33:40 -0400 (EDT)
Message-ID: <200010282033.QAA18972@candle.pha.pa.us> (raw)
In-Reply-To: <39FB15D9.9F17B21C@bolina.hsb.se>

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



view thread (10+ messages)  latest in thread

Message-ID: <200010282033.QAA18972@candle.pha.pa.us>
Permalink:  ../200010282033.QAA18972@candle.pha.pa.us/
Also on:    postgresql.org/message-id/200010282033.QAA18972@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: pgman@candle.pha.pa.us, emil.assarsson@bolina.hsb.se
  Subject: Re: jdbc documentation
  In-Reply-To: <200010282033.QAA18972@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox