Re: No suitable driver error trying to connect to - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: No suitable driver error trying to connect to
Date
Msg-id 1091808621.1548.69.camel@localhost.localdomain
Whole thread Raw
In response to No suitable driver error trying to connect to postgresql from jdeveloper  (syg6@yahoo.com (Robert Bowen))
List pgsql-jdbc
the url is incorrect

it needs to be.
jdbc:postgresql://host:port/database


Dave
On Fri, 2004-08-06 at 08:05, Robert Bowen wrote:
> Anyone have this problem? Usually it is because of a classpath error
> but I have copied my jar file(s) into the jdeveloper/jdbc/lib
> directory (where the oracle jdbc drivers are ...) and tried the
> following:
>
> Connection Type : 3rd Party JDBC Driver
>
>
> Username and password correct (verified using pgAdmin)
>
> Driver class : org.postgresql.Driver
>
> Classpath : I have tried all 4 drivers that come with postgresql 7.5
> -- pg74.214.jdbc1.jar, jdbc2.jar, jdbc2ee.jar and jdbc3.jar.
>
> url : localhost:5432 (this works in pgAdmin)
>
> ... no dice. Any clues? My connection to Oracle 9i from jdeveloper
> works fine ... As does my pgAdmin connection to postgresql ...
>
> Many thanks!
> syg
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>
--
Dave Cramer
519 939 0336
ICQ # 14675561


pgsql-jdbc by date:

Previous
From: syg6@yahoo.com (Robert Bowen)
Date:
Subject: No suitable driver error trying to connect to postgresql from jdeveloper
Next
From: Kris Jurka
Date:
Subject: Re: Problems with charsets, investigated...