RE: Jdbc Trouble

Поиск
Список
Период
Сортировка
От Peter Mount
Тема RE: Jdbc Trouble
Дата
Msg-id 1B3D5E532D18D311861A00600865478CF1B5BF@exchange1.nt.maidstone.gov.uk
обсуждение исходный текст
Ответ на Jdbc Trouble  (Manish Vig <sk@pobox.com>)
Список pgsql-interfaces
Answers prefixed with PM:

-- 
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount@maidstone.gov.uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council


-----Original Message-----
From: Manish Vig [mailto:sk@pobox.com]
Sent: Friday, November 24, 2000 9:23 PM
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] Jdbc Trouble


Dear Sir,
I am trying to access postgres through a jdbc connection but i get 
NoSuitable river at RunTime.I had put the jar files after extracting them
in jdk1.2/jre/lib/ext  directory.
Do I need to rename the Jarfile?

PM: No, the naming of the jar file is irrelavent in this case. Are you
loading the driver with Class.forName("org.postgresql.Driver"); ?

Where do  i put the jar files that i get by extracting the driver provided.

on download  iget two jar file named 7.0-1.1 and 7.0-1.2
and not one jar file named postgresql.jar

PM: Those are the two versions of the driver, one for JDK1.1 the other for
JDK1.2. You need to put the 7.0-1.2 jar file into your lib/ext directory.
Get rid of the 7.0-1.1. If you want, you can rename 7.0-1.2 as
postgresql.jar

Please Help

With Best Regards
Manish 


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

Предыдущее
От: "Andrew Dellinger"
Дата:
Сообщение: postgreSQL and javascript
Следующее
От: Peter Mount
Дата:
Сообщение: RE: How to change the encoding inside the JDBC inter face