Larry,
Shouldn't your connection URL be:
jdbc:postgresql://localhost:5432/testdb
instead of
jdbc:postgresql://localhost:5432?database=testdb
thanks,
--Barry
Larry Rogers wrote:
> Hi all,
>
> I'm having trouble opening a database connection to a test database on a
> fresh PostGreSQL 7.1.3
I tried your URL format with the same results. Thanks anyway!
Larry Rogers
On Sunday 09 September 2001 20:15, Dave Weis wrote:
> Your connection url looks funny, it should probably be more like
> jdbc:postgresql://localhost/testdb
>
> dave
>
---(end of broadcast)--
Your connection url looks funny, it should probably be more like
jdbc:postgresql://localhost/testdb
dave
On Sun, 9 Sep 2001, Larry Rogers wrote:
> exception: Exception: java.lang.NullPointerException
> Stack Trace:
> java.lang.NullPointerException
> at org.postgresql.Connection.openConne