Dave Cramer wrote:
> 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
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
In response to
pgsql-jdbc by date
|Next:||From: Aaron Mulder||Date: 2002-07-29 21:36:32|
|Subject: Re: Duplicate Columns on Insert|
|Previous:||From: Dave Cramer||Date: 2002-07-29 09:54:23|
|Subject: Re: Compile failure in CVS - JDBC3 - Addendum|