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 03:45:52 |
Message-ID: | 002001c1d541$e52544e0$807ba8c0@inspiron |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Paul,
Chances are the class loader is going to load pgjdbc2.jar first and take
it as the Driver. there must be more code than this though?
Can you send us a snippet of code that reproduces the error?
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
From | Date | Subject | |
---|---|---|---|
Next Message | Barry Lind | 2002-03-27 05:34:12 | Re: [PATCHES] little error messages fix |
Previous Message | Bruce Momjian | 2002-03-27 01:22:01 | Re: little error messages fix |