Re: RE: Problem connecting to JDBC 7.0-1.2 driver - Mailing list pgsql-jdbc

From Peter T Mount
Subject Re: RE: Problem connecting to JDBC 7.0-1.2 driver
Date
Msg-id 986220229.3ac886c505f0e@webmail.retep.org.uk
Whole thread Raw
In response to RE: Problem connecting to JDBC 7.0-1.2 driver  ("B.N.V. Raman" <raman@myself.com>)
List pgsql-jdbc
Quoting "B.N.V. Raman" <raman@myself.com>:

> I tried both methods:
>
> 1. Class.forName("postgresql.Driver"); (in the code)

7.0 and later it's "org.postgresql.Driver"

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

Nope, -Djdbc.drivers=org.postgresql.Driver

Peter

--
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/

pgsql-jdbc by date:

Previous
From: Peter T Mount
Date:
Subject: Re: JDBC2.0 Support
Next
From: Joel Seguillon
Date:
Subject: ...