From: | "Albe Laurenz" <all(at)adv(dot)magwien(dot)gv(dot)at> |
---|---|
To: | "Flavio Monteiro *EXTERN*" <flaviopinto(dot)monteiro(at)gmail(dot)com>, "pgsql-jdbc" <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Problem connecting to a pgsql database from Net Beans. |
Date: | 2007-08-30 09:48:31 |
Message-ID: | D960CB61B694CF459DCFB4B0128514C2221182@exadv11.host.magwien.gv.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | Mayuresh Nirhali | 2007-08-30 10:30:25 | Re: Problem connecting to a pgsql database from Net Beans. |
Previous Message | Heikki Linnakangas | 2007-08-30 08:14:10 | Re: statement caching patch from Laszlo Hornyak for review |