Thread: driver error

driver error

From
"Gabriel Mihalache"
Date:
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

From
Peter T Mount
Date:
Quoting 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...

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/