Re: can't access database from servlet - Mailing list pgsql-jdbc

From Nick Fankhauser
Subject Re: can't access database from servlet
Date
Msg-id NEBBLAAHGLEEPCGOBHDGAEDPECAA.nickf@ontko.com
Whole thread Raw
In response to Re: can't access database from servlet  ("Dave Cramer" <Dave@micro-automation.net>)
List pgsql-jdbc
> One thing right away is the url for the database connection should be
> "jdbc:postgresql://hostname/dbname"
> Where hostname could be localhost

If hostname is omitted, localhost is assumed, so I don't think that's the
problem. (Also, he was able to succesfully get the dbmd = db.getMetaData();
statement to execute, so he must be connected.

-Nick


pgsql-jdbc by date:

Previous
From: "Nick Fankhauser"
Date:
Subject: Re: can't access database from servlet
Next
From: Kovács Péter
Date:
Subject: Re: PostgresDataSource Question