

-----

Hi,

I am trying to access PostGreSQL database running at the default port
5432
using JDBC. But the application is giving error "Cannot find suitable
driver". I have included JDBC driver JAR file in my CLASSPATH and
Class.forName("org.postgresql.Driver") is loading driver successfully.
Can anybody tell me how to go about to solve the problem?

With regards,
Sourabh

> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

Wed, 21 Mar 2001 11:26:55 +0530
"sourabh  dixit" <sourabh.dixit@wipro.com>
PostgreSQL-JDBC driver
Quoting sourabh  dixit <sourabh.dixit@wipro.com>:

> 
> 
> -----
> 
> Hi,
> 
> I am trying to access PostGreSQL database running at the default port
> 5432
> using JDBC. But the application is giving error "Cannot find suitable
> driver". I have included JDBC driver JAR file in my CLASSPATH and
> Class.forName("org.postgresql.Driver") is loading driver successfully.
> Can anybody tell me how to go about to solve the problem?

Sounds like your URL is wrong. Make sure it begins with jdbc:postgresql:

Peter

-- 
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

Wed, 21 Mar 2001 06:26:43 -0500 (EST)
Peter T Mount <peter@retep.org.uk>
Re: PostgreSQL-JDBC driver