Re: Compile failure in CVS - JDBC3
От | Bruce Momjian |
---|---|
Тема | Re: Compile failure in CVS - JDBC3 |
Дата | |
Msg-id | 200207291753.g6THrLd17407@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: Compile failure in CVS - JDBC3 (Dave Cramer <Dave@micro-automation.net>) |
Список | 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@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-jdbc по дате отправления: