AGAIN: still no answer ... peter, or anybody knowledgeable, please ....

From: Mark Rosa <rosa(at)yourcell(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Date: 2001-05-08 07:33:47
Message-ID: 3AF7A15B.1000108@yourcell.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

dear all,

unfortunately the jdbc1 driver can't be compiled.
there are several errors popping up when compiling --with-java and also
when i try to compile the jdbc interface individually:

i already figured out two mistypings in the Statement.java file in
src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java

1. in the first line peter wrote 'nackage' instead of 'package'
2. on line 291 peter wrote
if (result != null && ((org.postgresql.ResultSet)result.reallyResultSet())
instead of
if (result != null && ((org.postgresql.ResultSet)result).reallyResultSet())

but after correcting these misspellings i still got error messages that
i couldn't correct any more with my limited knowledge of java:

/prog/ant/bin/ant -buildfile ../../../build.xml -Dmajor=7 -Dminor=1
-Dfullversion=7.1 -Ddef_pgport=5432
Buildfile: ../../../build.xml

jar:

call:

prepare:

check_versions:

driver:
[echo] Configured build for the JDBC1 edition driver.

compile:
[copy] Copying 4 files to
/disk/raid2/SRC/postgresql-7.1/src/interfaces/jdbc/build

examples:
[javac] Compiling 1 source file to
/disk/raid2/SRC/postgresql-7.1/src/interfaces/jdbc/build
[javac]
/disk/raid2/SRC/postgresql-7.1/src/interfaces/jdbc/example/blobtest.java:189:
Class example.Blob not found in type declaration.
[javac] Blob b = rs.getBlob("a");
[javac] ^
[javac]
/disk/raid2/SRC/postgresql-7.1/src/interfaces/jdbc/example/blobtest.java:189:
Method getBlob(java.lang.String) not found in interface java.sql.ResultSet.
[javac] Blob b = rs.getBlob("a");
[javac] ^
[javac] 2 errors

BUILD FAILED

/disk/raid2/SRC/postgresql-7.1/src/interfaces/jdbc/build.xml:120:
Compile failed, messages should have been provided.

Total time: 2 seconds
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory
`/disk/raid2/SRC/postgresql-7.1/src/interfaces/jdbc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/disk/raid2/SRC/postgresql-7.1/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/disk/raid2/SRC/postgresql-7.1/src'
gmake: *** [all] Error 2

can anybody help me along, or could peter put the jar package of the
jdbc1 on his web-site, please.

if someone would send me the jar-package by mail, i would be happy also
[:-)]

thanks for your help,

mark rosa

ps: btw. i tried this both on redhat-linux7.1 (java version "1.1.8") and
irix6.5.9m (java version "3.2 (Sun 1.1.8)")

--

"When I'm working on a problem, I never think about beauty.
I think only how to solve the problem.
But when I have finished, if the solution is not beautiful,
I know it is wrong."
- Richard Buckminster Fuller

-------------------------------------------------------------
Mark Rosa - Dipl. Arch. ETH
YourCell.Net (occupy your cell on the net)
email: info(at)yourcell(dot)net www: http://www.yourcell.net
mobile: ++41-76-390 06 37 fax: ++49-89-244 35 64 08
email: rosa(at)yourcell(dot)net www: http://www.yourcell.net/rosa
-------------------------------------------------------------

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mark Rosa 2001-05-08 07:52:47 AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Previous Message Thys De Wet@iCommerce 2001-05-08 07:08:08 Jbuilder Question..