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

From: Mark Rosa <rosa(at)etekt(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: AGAIN: still no answer ... peter, or anybody knowledgeable, please ....
Date: 2001-05-08 07:52:47
Message-ID: 3AF7A5CF.4010609@etekt.com
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)")

--
-------------------------------------------------------------
Mark Rosa - Dipl. Arch. ETH
Etekt Inc. co-create your home
phone: ++41-1-4462-406 www: http://www.etekt.com
mobile: ++41-76-390 06 37 fax: ++49-89-244 35 64 08
email: rosa(at)etekt(dot)com www: http://www.yourcell.net/rosa
-------------------------------------------------------------

The information transmitted is intended only for the person
or entity to which it is addressed and may contain confi-
dential and/or privileged material. Any review, retrans-
mission, dissemination or other use of, or taking of any
action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.
If you received this in error, please contact the sender and
delete the material from any computer.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bhuvaneswari 2001-05-08 07:55:09 Error Retrieving Date Records
Previous Message Mark Rosa 2001-05-08 07:33:47 AGAIN: still no answer ... peter, or anybody knowledgeable, please ....