Skip site navigation (1) Skip section navigation (2)

RE: JDBC Patch

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Peter Eisentraut'" <peter_e(at)gmx(dot)net>, Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
Cc: "'Christopher Cain'" <ccain(at)mhsoftware(dot)com>, pgsql-interfaces(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: RE: JDBC Patch
Date: 2000-08-25 08:36:49
Message-ID: 1B3D5E532D18D311861A00600865478CF1B2D7@exchange1.nt.maidstone.gov.uk (view raw or flat)
Thread:
Lists: pgsql-interfacespgsql-patches
The problem is that there are so many different places it can go. I was
thinking of moving the version stuff into DriverClass.java (which is built
dynamically by make), but I'm not sure how adding malefile.global would
affect the compilation process.

However, JDBC needs:

Full string:	"7.0.2"
Major version:	7
Minor version:	0

and those are just from memory.

If I get chance today, I'll look into it.

Peter

-- 
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount(at)it(dot)maidstone(dot)gov(dot)uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council


-----Original Message-----
From: Peter Eisentraut [mailto:peter_e(at)gmx(dot)net]
Sent: Friday, August 25, 2000 9:28 AM
To: Peter Mount
Cc: 'Christopher Cain'; pgsql-interfaces(at)postgresql(dot)org;
pgsql-patches(at)postgresql(dot)org
Subject: RE: [INTERFACES] JDBC Patch


Peter Mount writes:

> Hmmm, I thought I had caught all the version strings. Thanks for spotting
> it.

Peter, you can avoid this sort of thing in the future. Makefile.global
defines a variable `VERSION' that you should compile into the binaries.
I'm not sure exactly how it would work with Java, but perhaps something
like this:

javac -Dversion='"$(VERSION)"' xyz.java

or run sed before the compilation.


-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e(at)gmx(dot)net                   75262 Uppsala
http://yi.org/peter-e/            Sweden

pgsql-patches by date

Next:From: Bryan Field-ElliotDate: 2000-08-25 18:25:22
Subject: JDBC and java.sql.Timestamp
Previous:From: Peter MountDate: 2000-08-25 06:29:41
Subject: RE: JDBC Patch

pgsql-interfaces by date

Next:From: Cedar CoxDate: 2000-08-25 08:49:32
Subject: Re: JDBC problem
Previous:From: Peter MountDate: 2000-08-25 06:33:57
Subject: RE: using large objects with jdbc

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group