jdbc documentation

Started by Emil Assarssonover 25 years ago2 messagesdocs
Jump to latest
#1Emil Assarsson
emil.assarsson@bolina.hsb.se

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

#2Bruce Momjian
bruce@momjian.us
In reply to: Emil Assarsson (#1)
Re: jdbc documentation

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