Re: Problems setting up PostgreSQL and Tomcat JDBC connection

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Problems setting up PostgreSQL and Tomcat JDBC connection
Дата
Msg-id m3r8rvjvjh.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Problems setting up PostgreSQL and Tomcat JDBC connection  (Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu>)
Список pgsql-general
Nikola Milutinovic <Nikola.Milutinovic@ev.co.yu> writes:

> QUESTION 2: Now this may sound dumb, but... PostgreSQL docs state
> that I should load driver with "-Djdbc.drivers=posgresql.Driver",
> but if I list postgresql.jar file, I see it is
> "org.postgresql.Driver". Is this a typo in the docs?

Yes, the package structure changed in 7.1 or thereabouts.
'org.postgresql.Driver' is the correct classname.

Have you tried writing a standalone JDBC test app just to make sure
all the database plumbing works and you've got the right connection
URL?

BTW, the current stable release of Postgres is 7.1.3, and there were
quite a few bugs fixed since 7.1.0.  You might want to consider
upgrading.

-Doug
--
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

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

Предыдущее
От: Gerhard Pfeiffer
Дата:
Сообщение: pl/python, plpy and nrows()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: where are the memory leaks?