Re: jdbc
| От | Ingo Luetkebohle |
|---|---|
| Тема | Re: jdbc |
| Дата | |
| Msg-id | 20001228114339.A23494@blank.pages.de обсуждение |
| Ответ на | jdbc (Wayne Davis <wfdavis@seas.upenn.edu>) |
| Список | 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 по дате отправления: