Skip site navigation (1) Skip section navigation (2)

Re: jdbc documentation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Emil Assarsson <emil(dot)assarsson(at)bolina(dot)hsb(dot)se>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: jdbc documentation
Date: 2000-10-28 20:33:40
Message-ID: 200010282033.QAA18972@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-docs
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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-docs by date

Next:From: The Hermit HackerDate: 2000-10-30 00:06:35
Subject: pgsql-docs list should be live again ...
Previous:From: Emil AssarssonDate: 2000-10-28 18:07:21
Subject: jdbc documentation

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group