Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL JDBC

From: Jeff Duffy <jduffy(at)greatbridge(dot)com>
To: Andy Engdahl <andy(at)crophailmanagement(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL JDBC
Date: 2001-02-23 18:05:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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 connect w/ 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.


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

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2001-02-23 18:05:24
Subject: Re: Lock structures
Previous:From: Bruce MomjianDate: 2001-02-23 18:01:01
Subject: Re: Lock structures

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group