Re: Problem connecting to a pgsql database from Net Beans.

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Problem connecting to a pgsql database from Net Beans.
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C2221182@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Problem connecting to a pgsql database from Net Beans.  ("Flavio Monteiro" <flaviopinto.monteiro@gmail.com>)
Список pgsql-jdbc
Flavio Monteiro wrote:

[tries to use org.postgresql.ds.PGSimpleDataSource with an application
server or something]

> RAR5038:Unexpected exception while creating resource
> RAR5117 : Failed to obtain/create connection. Reason : Connection
could not be allocated because: FATAL: database "null" does not exist

I *guess* that there is someplace in "NetBeans" where you can configure
DataSource properties.
These are the properties:
http://jdbc.postgresql.org/documentation/82/ds-ds.html#ds-ds-props

I *guess* that you didn't specify "databaseName".

You can probably get better information about the NetBeans end of things
from their documentation...

Yours,
Laurenz Albe

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

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: statement caching patch from Laszlo Hornyak for review
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: statement caching patch from Laszlo Hornyak for review