pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Lockhart <lockhart@alumni.caltech.edu>
To: Peter Mount <petermount@it.maidstone.gov.uk>
Cc: Lamar Owen <lamar.owen@wgcr.org>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Cc: PostgreSQL-interfaces <pgsql-interfaces@postgreSQL.org>
Subject: Re: [HACKERS] Request for 7.0 JDBC status
Date: Tue, 02 May 2000 11:07:37 +0000
Message-ID: <390EB6F9.351F2967@alumni.caltech.edu> (raw)
References: <1B3D5E532D18D311861A00600865478C70C536@exchange1.nt.maidstone.gov.uk>

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

?? From fresh sources afaik:

[postgres@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@alumni.caltech.edu
South Pasadena, California



view thread (46+ messages)  latest in thread

Message-ID: <390EB6F9.351F2967@alumni.caltech.edu>
Permalink:  ../390EB6F9.351F2967@alumni.caltech.edu/
Also on:    postgresql.org/message-id/390EB6F9.351F2967@alumni.caltech.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lockhart@alumni.caltech.edu, petermount@it.maidstone.gov.uk, lamar.owen@wgcr.org, pgman@candle.pha.pa.us, pgsql-hackers@postgreSQL.org
  Subject: Re: [HACKERS] Request for 7.0 JDBC status
  In-Reply-To: <390EB6F9.351F2967@alumni.caltech.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox