RE: Problem connecting to JDBC 7.0-1.2 driver

От
B.N.V. Raman
Тема
RE: Problem connecting to JDBC 7.0-1.2 driver
Дата
Msg-id
NDBBJMJDNACBKJFDJCJEEEHGCOAA.raman@myself.com
Ответ на
Список
Дерево обсуждения
Problem connecting to JDBC 7.0-1.2 driver "B.N.V. Raman" <raman@myself.com>
Re: Problem connecting to JDBC 7.0-1.2 driver "Brett W. McCoy" <bmccoy@chapelperilous.net>
RE: Problem connecting to JDBC 7.0-1.2 driver "B.N.V. Raman" <raman@myself.com>
Re: RE: Problem connecting to JDBC 7.0-1.2 driver Peter T Mount <peter@retep.org.uk>
RE: Problem connecting to JDBC 7.0-1.2 driver "Brett W. McCoy" <bmccoy@chapelperilous.net>
RE: Problem connecting to JDBC 7.0-1.2 driver "B.N.V. Raman" <raman@myself.com>
I tried both methods:

1. Class.forName("postgresql.Driver"); (in the code)

&

2. omitting the above code and trying: java -Djdbc.drivers=postgresql.jar

Thanks,
Raman.

> From: Brett W. McCoy [mailto:bmccoy@chapelperilous.net]
> On Fri, 30 Mar 2001, B.N.V. Raman wrote:
>
> > I've installed JDK 1.2.2 from RPM's into my Red Hat 7.0 System which has
> > Postgresql 7.0.2 installed.
> >
> > 1. I've copied the jdbc7.0-1.2.jar file to the postgresql.jar file.
> > 2. my classpath includes /usr/lib/pgsql/postgresql.jar
> > 3. Whenever i run a java program to connect, i get an SQLException: No
> > Driver Found.
> > 4. My postmaster is running with the -i option.
> >
> > What could be the problem??
>
> What's the code you are using to connect with?
>
> -- Brett

В списке pgsql-jdbc по дате отправления
От: Brett W. McCoy
Дата:
От: Brett W. McCoy
Дата:
Поиск
Список
Период
Сортировка
Искать
FAQ