Re: [HACKERS] Request for 7.0 JDBC status

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>, PostgreSQL-interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Request for 7.0 JDBC status
Date: 2000-05-02 11:07:37
Message-ID: 390EB6F9.351F2967@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

> The jar file isn't built automatically in 7.0. You'll have to use:
> make jdbc2 jar

?? From fresh sources afaik:

[postgres(at)golem jdbc]$ make jdbc2 jar
(echo "package org.postgresql;" ;\
echo "public class DriverClass {" ;\
echo "public static String
connectClass=\"org.postgresql.jdbc2.Connection\";" ;\
echo "}" \
) >org/postgresql/DriverClass.java
make[1]: Entering directory `/opt/postgres/pgsql/src/interfaces/jdbc'
javac -g org/postgresql/DriverClass.java
...
javac -g org/postgresql/jdbc2/CallableStatement.java
Note: org/postgresql/jdbc2/CallableStatement.java uses or overrides a
deprecated API. Recompile with "-deprecation" for details.
1 warning
jar -c0f postgresql.jar `find org/postgresql -name "*.class" -print` \
org/postgresql/errors.properties
org/postgresql/errors_fr.properties
org/postgresql/errors_nl.properties
------------------------------------------------------------
The JDBC driver has now been built. To make it available to
...
To build the CORBA example (requires Java2):
make corba
------------------------------------------------------------

make[1]: Leaving directory `/opt/postgres/pgsql/src/interfaces/jdbc'
make: *** No rule to make target `jar'. Stop.

Seems a jar file does get built with "make jdbc2", but I'm not sure it
is the right one (being *much* more advanced than Lamar in the Java
world, I *make* Java, but don't actually *use* Java :)) ;)

As an aside, I thought Peter might find it interesting that we do have
a fairly large Java app at my work (JPL) to manage and build
configurations for a fancy hard real-time system for astronomical
optical interferometers. The app happens to use Postgres as a backend
for most deliveries ;) Keck Observatory will need it working with
Sybase since they long ago standardized on that...

- Thomas

--
Thomas Lockhart lockhart(at)alumni(dot)caltech(dot)edu
South Pasadena, California

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2000-05-02 11:11:54 Re: PgAccess 0.98.6 , a ugly bug fixed
Previous Message Bruce Momjian 2000-05-02 11:02:29 Re: [HACKERS] Request for 7.0 JDBC status

Browse pgsql-interfaces by date

  From Date Subject
Next Message Thomas Lockhart 2000-05-02 11:15:46 Re: [HACKERS] Request for 7.0 JDBC status
Previous Message Bruce Momjian 2000-05-02 11:02:29 Re: [HACKERS] Request for 7.0 JDBC status