Thread: JDBC help

JDBC help

From
stuart hodgkinson
Date:
Im having problems with visual J++ 6.0 (yeah it scabby but i have to use it). I've included the postgresql.jar file in
theclass path but it fails on the Class.forName("postgresql.Driver"); bit, what have I missed out? or is there some
strangemicroshaft issue. Can anyone recommend a windows based java compiler that works well with postgres? urls infor
appricaited!
Stoo




_______________________________________________________________________
FSmail - Get your free web-based email from Freeserve: www.fsmail.net






RE: JDBC help

From
Peter Mount
Date:
Which version of jdbc driver are you using?

Versions 6.5.x and earlier used postgresql.Driver but from 7.0 it's now
org.postgresql.Driver

If that's not the problem, how about trying either:

* Put postgresql.jar into the jre's lib/ext directory
* Try the IE applet hack of not calling DriverManager but postgresql.Driver
directly

Peter

-- 
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: stuart hodgkinson [mailto:stuart@toasted-alien.freeserve.co.uk]
Sent: Thursday, October 26, 2000 1:56 PM
To: pgsql-interfaces@postgresql.org
Subject: [INTERFACES] JDBC help


Im having problems with visual J++ 6.0 (yeah it scabby but i have to use
it). I've included the postgresql.jar file in the class path but it fails on
the Class.forName("postgresql.Driver"); bit, what have I missed out? or is
there some strange microshaft issue. Can anyone recommend a windows based
java compiler that works well with postgres? urls infor appricaited!
Stoo




_______________________________________________________________________
FSmail - Get your free web-based email from Freeserve: www.fsmail.net