Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC

Поиск
Список
Период
Сортировка
От Pierre Habraken
Тема Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC
Дата
Msg-id 35111AB4.3738274B@ujf-grenoble.fr
обсуждение исходный текст
Ответ на Re: [QUESTIONS] Accessing Postgresfrom JBuilder using JDBC  (Peter T Mount <postgresdev@maidast.demon.co.uk>)
Список pgsql-interfaces
Peter T Mount wrote:
>
> That's because the driver isn't loaded. Two ways to do this:
>
> 1) Add -Djdbc.drivers=postgresql.Driver although this won't work for
> JBuilder.
>
> 2) Add something like:
>           Class.forName("postgresql.Driver");
> to your code.

Thanks for your reply.
I tried adding the explicit loading of the driver in the java code, but
this had no effect, which is not surprising in my mind.
It is not clear whether the fact that JBuilder components does not
behave well is due to these components or to the JBDC driver...

Pierre
--
________________________________________________________________________
Pierre HABRAKEN - mailto:Pierre.Habraken@ujf-grenoble.fr
Tél: 04 76 51 48 87 - Fax: 04 76 51 45 63
Université Joseph Fourier - Département Scientifique Universitaire
Adresse postale : CAFIM/DSU BP53 38041 Grenoble Cedex 9
________________________________________________________________________

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

Предыдущее
От: "Daniel Albeseder"
Дата:
Сообщение: PostgresSQL 6.2.1 with PostODBC 0.21/0.35
Следующее
От: David Foster
Дата:
Сообщение: Latest postodbc?