Re: PostgreSQL-JDBC driver

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: PostgreSQL-JDBC driver
Дата
Msg-id 985174003.3ab88ff3bc7d0@webmail.retep.org.uk
обсуждение исходный текст
Ответ на PostgreSQL-JDBC driver  ("sourabh dixit" <sourabh.dixit@wipro.com>)
Список pgsql-hackers
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/


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Call for platforms
Следующее
От: "sourabh dixit"
Дата:
Сообщение: Re: PostgreSQL-JDBC driver