From: Oliver Jowett <oliver@opencloud.com>
To: Joeseph Blowseph <joseph_blowseph@hotmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: 'FATAL: database "null" does not exist ' when accessing
Date: Sat, 14 Jan 2006 11:21:12 +0000
Message-ID: <43C8DEA8.5020703@opencloud.com> (raw)
In-Reply-To: <BAY101-F4078FCE72892E318E5C0A783190@phx.gbl>
References: <BAY101-F4078FCE72892E318E5C0A783190@phx.gbl>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: oliver@opencloud.com, joseph_blowseph@hotmail.com
Subject: Re: 'FATAL: database "null" does not exist ' when accessing
In-Reply-To: <43C8DEA8.5020703@opencloud.com>
References: <BAY101-F4078FCE72892E318E5C0A783190@phx.gbl> <43C8DEA8.5020703@opencloud.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox