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

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Joeseph Blowseph <joseph_blowseph(at)hotmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: 'FATAL: database "null" does not exist ' when accessing
Date: 2006-01-14 11:21:12
Message-ID: 43C8DEA8.5020703@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joeseph Blowseph 2006-01-14 16:59:05 Re: 'FATAL: database "null" does not exist ' when accessing through a
Previous Message Joeseph Blowseph 2006-01-14 04:45:50 'FATAL: database "null" does not exist ' when accessing through a datasource