Received: from candle.pha.pa.us (pgman@s5-03.ppp.op.net [209.152.195.67]) by hub.org (8.9.3/8.9.3) with ESMTP id HAA37218; Tue, 2 May 2000 07:40:57 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id HAA09209; Tue, 2 May 2000 07:40:39 -0400 (EDT) From: Bruce Momjian Message-Id: <200005021140.HAA09209@candle.pha.pa.us> Subject: Re: [HACKERS] Request for 7.0 JDBC status In-Reply-To: <390EB8E2.6EE3D2DA@alumni.caltech.edu> from Thomas Lockhart at "May 2, 2000 11:15:46 am" To: Thomas Lockhart Date: Tue, 2 May 2000 07:40:39 -0400 (EDT) CC: Peter Mount , Lamar Owen , PostgreSQL-development , PostgreSQL-interfaces , "Peter Mount (Home)" X-Mailer: ELM [version 2.4ME+ PL72 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=UNKNOWN-8BIT Content-Transfer-Encoding: 8bit X-Archive-Number: 200005/27 > > Not to bug you Peter, but 7.0 may not wait three days before release. > > I would vote that this is important enough that it should wait, but no > one has raised the issue until now so we haven't discussed it. The > docs may or may not be completed within the next day (still jet-lagged > from vacation, but waking up at 3am does leave some extra time in the > morning, eh?), and if they stretch an extra day which is certainly > possible then we are only talking about an extra day for this. No big > deal in the grand scheme of things... > > Peter, is there some testing that could/should be done with the new > driver (by others) in the meantime, or is it pretty likely to be > reasonably hashed out? Just to add to my earlier report, here is the kaffe 1.05 compile failure. What strikes me as odd is that Connection.java complains because it can't find org/postgresql/Field, but if I try to compile Field.java complains it can't find Connection.java. Now, having the 6.5.3 JAR file, I can compile the 6.5.3 postgresql java driver because I have the jar file to back up the unreferenced symbols. The 7.0 driver uses org.postgresql, which is not in the 6.5.3 JAR file, so it fails. The java IRC channel says kaffe isn't very good, so maybe I shouldn't be worried about it. They also said mutually-referencing java files are not a good either. Seems I may be able to modify the import lines in the java file to use the 6.5.3 JAR file to get enough files compiled to compile the rest, then recompile the entire thing. Using the jar file compiled with Sun java works fine. I can connect to the database and run my program. --------------------------------------------------------------------------- #$ gmake jdbc2 (echo "package org.postgresql;" ;\ echo "public class DriverClass {" ;\ echo "public static String connectClass=\"org.postgresql.jdbc2.Connection\";" ;\ echo "}" \ ) >org/postgresql/DriverClass.java gmake[1]: Entering directory `/var/local/src/pgsql/CURRENT/pgsql/src/interfaces/jdbc' javac -g org/postgresql/DriverClass.java javac -g org/postgresql/Connection.java org/postgresql/Connection.java:1: Can''t find class "org/postgresql/Field" §8 org/postgresql/Connection.java:529: Can''t find class "Fastpath" §8 gmake[1]: *** [org/postgresql/Connection.class] Error 1 gmake[1]: Leaving directory `/var/local/src/pgsql/CURRENT/pgsql/src/interfaces/jdbc' gmake: *** [jdbc2] Error 2 -- Bruce Momjian | http://www.op.net/~candle pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026