From: Ingo Luetkebohle <ingo@blank.pages.de>
To: Wayne Davis <wfdavis@seas.upenn.edu>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: jdbc
Date: Thu, 28 Dec 2000 11:43:39 +0100
Message-ID: <20001228114339.A23494@blank.pages.de> (raw)
In-Reply-To: <92eag6$mjp$1@news.tht.net>
References: <92eag6$mjp$1@news.tht.net>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: ingo@blank.pages.de, wfdavis@seas.upenn.edu
Subject: Re: jdbc
In-Reply-To: <20001228114339.A23494@blank.pages.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox