From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Dave Cramer <Dave(at)micro-automation(dot)net> |
Cc: | Håkon Hansen <hha(at)mkt(dot)no>, PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: Compile failure in CVS - JDBC3 |
Date: | 2002-07-29 17:53:21 |
Message-ID: | 200207291753.g6THrLd17407@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Dave Cramer wrote:
> Haakon,
>
> First a little background/history
>
> when jdk1.1 came out java.sql.* was implemented in the
> org.postgresql.jdbc1 package. Probably not packaged this way at the
> time, but it is before my time so I am guessing.
>
> Then jdk1.2 came out and this required a seperation of the packages;
> primarily because of additional Types in java.sql.Types. They couldn't
> be referenced in the jdbc1 package because they didn't exist in it.
>
> So it looks like the orignal people who did the jdbc2 version simply
> copied the jdbc1 stuff, repackaged it into jdbc2 and added the methods
> etc. Along they way they started using some jdbc2 specific methods such
> as the Collections package. The challenge was that there was alot of
> duplicate code shared between the packages, which meant that an update
> in one required an update in the other ....this was tolerable with only
> two packages to deal with, now we have jdbc3 and presumable we can
> expect 4, 5, .... etc.
>
> So the rewrite solves the problem of duplicate code shared between the
> two versions of jdbc1,jdbc2, and now jdbc3.
Yes, those separate directories with mostly duplicate code was a
maintenance headache.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Aaron Mulder | 2002-07-29 21:36:32 | Re: Duplicate Columns on Insert |
Previous Message | Dave Cramer | 2002-07-29 09:54:23 | Re: Compile failure in CVS - JDBC3 - Addendum |