Re: PostgreSQL JDBC - Mailing list pgsql-hackers

From Jeff Duffy
Subject Re: PostgreSQL JDBC
Date
Msg-id Pine.LNX.4.21.0102231303210.5148-100000@cairhien.alanne.com
Whole thread Raw
In response to PostgreSQL JDBC  ("Andy Engdahl" <andy@crophailmanagement.com>)
List pgsql-hackers
On Fri, 23 Feb 2001, Andy Engdahl wrote:

> I seem to be having some problems w/ the psql jdbc driver.  I'm able to load the driver, but as soon as I try to
connectw/ the database. here's my code:
 
> 
> import java.sql.*;
> 
> public class dataBase {
>     public static void main(String [] args){
>         try {
>             Class.forName("org.postgresql.DriverClass").newInstance();
The class instance will load successfully, but this isn't what you
want. Replace org.postgresql.DriverClass with org.postgresql.Driver.

Jeff

-- 
Errors have occurred.
We won't tell you where or why.
Lazy programmers.    -- Hacking haiku



pgsql-hackers by date:

Previous
From: "Lawrence M. Kagan"
Date:
Subject: Where is locking done?
Next
From: Philip Warner
Date:
Subject: Re: CommitDelay performance improvement