getting JDBC connection working

Поиск
Список
Период
Сортировка
От Iain
Тема getting JDBC connection working
Дата
Msg-id 000f01c3d996$ad4f8f20$7201a8c0@mst1x5r347kymb
обсуждение исходный текст
Ответы Re: getting JDBC connection working
Список pgsql-jdbc
Hi All,
 
This is hopefully a quick question.
 
Do I need to re-build the postgres installation using the --with-java option in order to use JDBC? I got the JDBC driver and set the CLASSPATH as per the docs, but I wasn't clear on whether the --with-java option is still required given that I downloaded a pre-built driver.
 
My little test program is currently failing with a ClassNotFoundException during the call:
 
Class.forName("org.postgresql.Driver");
 
Thanks in advance,
Iain

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: PreparedStatement parameters and mutable objects
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: getting JDBC connection working