Re: Driver fails to connect

From: "Dave Cramer" <Dave(at)micro-automation(dot)net>
To: <PaulU71555(at)aol(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Driver fails to connect
Date: 2002-03-27 14:29:32
Message-ID: 003301c1d59b$d1b260a0$807ba8c0@inspiron
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Paul,

Using the standard jar which will run under jdk1.4 I got the following
response

In TestJdbc constructor
DRIVER: org.postgresql.Driver
Connecting to Database URL = jdbc:postgresql:test

Dave

-----Original Message-----
From: pgsql-jdbc-owner(at)postgresql(dot)org
[mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of PaulU71555(at)aol(dot)com
Sent: Tuesday, March 26, 2002 9:34 PM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Driver fails to connect

Hi.

Using J2sdk1.4.0, Postgresql7.2, and a patch, 1.4b3.

Try: DriverManager.getConnection("jdbc:postgresql:Paul","Paul","")

Get: java.lang.NoSuchFieldError: current_row
at org.postgresql.Driver.connect(source file unknown, pc
0x82063333)

The preceding is preceded by (18 iterations of) Warning: Major/Minor
version number mismatch.

I'm sure this is some sort of configuration glitch. I have
postgresql.jar and pgjdbc2.jar in the same directory which is in my
classpath. What am I missing/what did I not do/what did I not do that I
should have?

Thanks,
Paul

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message tony 2002-03-27 14:40:13 Re: Accents for TEXT
Previous Message Elisabeth Julg 2002-03-27 14:15:33 Accents for TEXT