driver error

Поиск
Список
Период
Сортировка
Искать

driver error

От:
"Gabriel Mihalache" <spasm@xnet.ro>
Дата:
Hi!
I have a problem with the driver.
The jar file is in my class path but the org.postgres.Driver object is
unavailable...
any ideas?

I want to use it with Jive and with some stuff I'm working of...
Both Jive and a small servlet wrote by me trows an error.

Re: driver error

От:
Peter T Mount <peter@retep.org.uk>
Дата:
Quoting Gabriel Mihalache :

> Hi!
> I have a problem with the driver.
> The jar file is in my class path but the org.postgres.Driver object is
> unavailable...

Are you loading the driver?

ie:

Class.forName("org.postgresql.Driver");

Peter

> any ideas?
> 
> I want to use it with Jive and with some stuff I'm working of...
> Both Jive and a small servlet wrote by me trows an error.
> 
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
> 



-- 
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/
FAQ