Re: jdbc - Mailing list pgsql-interfaces

From Ingo Luetkebohle
Subject Re: jdbc
Date
Msg-id 20001228114339.A23494@blank.pages.de
Whole thread Raw
In response to jdbc  (Wayne Davis <wfdavis@seas.upenn.edu>)
List pgsql-interfaces
Did you use 'Class.forName("org.postgresql.Driver")', to preload the
driver prior to calling getConnection?

On Wed, Dec 27, 2000 at 10:01:09PM -0500, Wayne Davis wrote:
> I'm having trouble getting the postgresql jdbc driver to work.  Here's my error:
> java.sql.SQLException: No suitable driver
>         at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Code)
>         at java.sql.DriverManager.getConnection(DriverManager.java, Compiled Code)
>         at DBBean.<init>(DBBean.java, Compiled Code)
>         at DBBean.main(DBBean.java, Compiled Code)
> 
> I'm running Linux with the 1.2.2 jdk.
> I'm running pgsql 7.0.2.
> 
> CLASSPATH=/usr/lib/pgsql/jdbc7.0-1.2.jar:.
> 
> Any help would be appreciated.
> 
> Wayne


pgsql-interfaces by date:

Previous
From: Wayne Davis
Date:
Subject: jdbc
Next
From: "Johann Zuschlag"
Date:
Subject: solved: keyword LIMIT in SQL-statement, psqlodbc workaround?