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

jdbc documentation

From: Emil Assarsson <emil(dot)assarsson(at)bolina(dot)hsb(dot)se>
To: pgsql-docs(at)postgresql(dot)org
Subject: jdbc documentation
Date: 2000-10-28 18:07:21
Message-ID: 39FB15D9.9F17B21C@bolina.hsb.se (view raw or flat)
Thread:
Lists: pgsql-docs
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



Responses

pgsql-docs by date

Next:From: Bruce MomjianDate: 2000-10-28 20:33:40
Subject: Re: jdbc documentation
Previous:From: Thomas LockhartDate: 2000-10-28 07:03:23
Subject: Re: Postgresql/tcltk

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