| From: | Peter T Mount <peter(at)retep(dot)org(dot)uk> |
|---|---|
| To: | sourabh(dot)dixit(at)wipro(dot)com, sourabh dixit <sourabh(dot)dixit(at)wipro(dot)com> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: PostgreSQL-JDBC driver |
| Date: | 2001-03-21 11:26:43 |
| Message-ID: | 985174003.3ab88ff3bc7d0@webmail.retep.org.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Quoting sourabh dixit <sourabh(dot)dixit(at)wipro(dot)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(at)retep(dot)org(dot)uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Lockhart | 2001-03-21 11:46:12 | Re: int8 bug on Alpha |
| Previous Message | Tom Lane | 2001-03-21 11:13:46 | Re: Call for platforms |