Re: can't access database from servlet

Поиск
Список
Период
Сортировка
От Nick Fankhauser
Тема Re: can't access database from servlet
Дата
Msg-id NEBBLAAHGLEEPCGOBHDGAEDPECAA.nickf@ontko.com
обсуждение исходный текст
Ответ на Re: can't access database from servlet  ("Dave Cramer" <Dave@micro-automation.net>)
Список pgsql-jdbc
> One thing right away is the url for the database connection should be
> "jdbc:postgresql://hostname/dbname"
> Where hostname could be localhost

If hostname is omitted, localhost is assumed, so I don't think that's the
problem. (Also, he was able to succesfully get the dbmd = db.getMetaData();
statement to execute, so he must be connected.

-Nick


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

Предыдущее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: can't access database from servlet
Следующее
От: Kovács Péter
Дата:
Сообщение: Re: PostgresDataSource Question