Re: 'FATAL: database "null" does not exist ' when accessing

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: 'FATAL: database "null" does not exist ' when accessing
Дата
Msg-id 43C8DEA8.5020703@opencloud.com
обсуждение исходный текст
Ответ на 'FATAL: database "null" does not exist ' when accessing through a datasource  ("Joeseph Blowseph" <joseph_blowseph@hotmail.com>)
Ответы Re: 'FATAL: database "null" does not exist ' when accessing through a  ("Joeseph Blowseph" <joseph_blowseph@hotmail.com>)
Список pgsql-jdbc
Joeseph Blowseph wrote:

> DataSourceClass:    org.postgresql.ds.PGSimpleDataSource
> JNDI Name:                jdbc/PGSimple
> URL:                          jdbc:postgresql://localhost:5432/PGSQL1

If you're using a DataSource, then the internal JDBC URL to use is
constructed from the parameters used to configure the datasource
(setDatabaseName, etc).

I don't know what your container is doing with the "JDBC URL" bit, but
AFAIK it's not used by the datasource at all.

-O

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

Предыдущее
От: "Joeseph Blowseph"
Дата:
Сообщение: 'FATAL: database "null" does not exist ' when accessing through a datasource
Следующее
От: "Joeseph Blowseph"
Дата:
Сообщение: Re: 'FATAL: database "null" does not exist ' when accessing through a