jdbc documentation

Поиск
Список
Период
Сортировка
От Emil Assarsson
Тема jdbc documentation
Дата
Msg-id 39FB15D9.9F17B21C@bolina.hsb.se
обсуждение исходный текст
Ответы Re: jdbc documentation  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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



В списке pgsql-docs по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: Postgresql/tcltk
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: jdbc documentation