Home > Archive > PostgreSQL JDBC > January 2006 > Re: 'FATAL: database "null" does not exist ' when accessing









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

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

2006-01-14, 7:23 am

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

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com