Re: Getting started with jdbc3 and eclipse

Поиск
Список
Период
Сортировка
От Guillaume Cottenceau
Тема Re: Getting started with jdbc3 and eclipse
Дата
Msg-id 87y7e1sund.fsf@mnc.ch
обсуждение исходный текст
Ответ на Getting started with jdbc3 and eclipse  ("Dominik Heller" <Dominik.Heller@gmx.net>)
Список pgsql-jdbc
"Dominik Heller" <Dominik.Heller 'at' gmx.net> writes:

> Hi All,
> I am about to get started with postgresql 8.2 and eclipse. the installation of the postgres DB was successful and now
myproblem is how to find the driver in eclipse. I have set the classpath correctly and I also added the library to the
eclipseproject (although I know the is not even neccessary). 
>
> So now by trying to establish a connection with the following code:
>
> Class.forName("org.postgresql.Driver");
>             db = DriverManager.getConnection("localhost:5432", "postgres", "*****");
>
> I get this exception:
>
> java.sql.SQLException: No suitable driver

http://www.google.com/search?q=jdbc+postgresql+No+suitable+driver

--
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36

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

Предыдущее
От: "Dominik Heller"
Дата:
Сообщение: Getting started with jdbc3 and eclipse
Следующее
От: Michael Schmidt
Дата:
Сообщение: Re: Getting started with jdbc3 and eclipse