Re: Problem connecting to a pgsql database from Net Beans. - Mailing list pgsql-jdbc

From Albe Laurenz
Subject Re: Problem connecting to a pgsql database from Net Beans.
Date
Msg-id D960CB61B694CF459DCFB4B0128514C2221182@exadv11.host.magwien.gv.at
Whole thread Raw
In response to Problem connecting to a pgsql database from Net Beans.  ("Flavio Monteiro" <flaviopinto.monteiro@gmail.com>)
List 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 by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: statement caching patch from Laszlo Hornyak for review
Next
From: Dave Cramer
Date:
Subject: Re: statement caching patch from Laszlo Hornyak for review