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/