Re: problem connecting to jdbc - Mailing list pgsql-jdbc

From Nick Fankhauser
Subject Re: problem connecting to jdbc
Date
Msg-id NEBBLAAHGLEEPCGOBHDGKEIFJFAA.nickf@ontko.com
Whole thread Raw
In response to problem connecting to jdbc  ("LINA M. GARCIA HENAO" <limagarc@univalle.edu.co>)
List pgsql-jdbc
> conectar.getConexion("jdbc:postgresql://localhost/","lina","hello");

It looks like you aren't specifying a database name in your URL.

If you're just getting started, this FAQ may be useful to you:

http://www.fankhausers.com/postgresql/jdbc/

-Nick


pgsql-jdbc by date:

Previous
From: "Gupta, Sahil"
Date:
Subject: Accessing PG DB using jdbc
Next
From: "Nick Fankhauser"
Date:
Subject: Re: Accessing PG DB using jdbc