Skip to Content.
Sympa Menu

freetds - Re: FreeTDS JDBC / Java 2 SDK 1.3

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stefan Bodewig <bodewig AT bost.de>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: FreeTDS JDBC / Java 2 SDK 1.3
  • Date: 04 Apr 2000 16:47:05 +0200


>>>>> "MM" == Maraya Michael <maraya-michael AT dol.gov> writes:

MM> I tried looking for "JDBC_VER" in the makefile but I didn't find
MM> it

Then you are obviously looking at a different Makefile than me 8^).

Personally I'm using the sources from CVS but it should be identical
to the contents of the latest snapshot (the last commited change I've
seen was from Mar 31).

MM> When I compared the source code against the API documentation,
MM> I found that the methods were in the API but not the source code.

Yes. JDK 1.1 had what was called JDBC 1.0, JDK 1.2 introduced JDBC 2.0
(which is now JDBC 2.1 core AFAIK). Unfortunatly JDBC 2.0 extended 1.0
in a way incompatible to JDK 1.1 - because they used the new
Collection API in some places.

This means you cannot write ResultSet or Statement implementations
that satisfy both JDK1.1 and JDK1.2. That's what the JDBC_VER variable
in the Makefile is for.

You should see ResultSet_2_0.java that gives you the Methods you were
missing from the API (otherwise you really need the newer snapshot).

Stefan




Archive powered by MHonArc 2.6.24.

Top of Page