FreeTDS JDBC / Java 2 SDK 1.3
bodewig at bost.de
Tue Apr 4 10:47:05 EDT 2000
>>>>> "MM" == Maraya Michael <maraya-michael at dol.gov> writes:
MM> I tried looking for "JDBC_VER" in the makefile but I didn't find
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).
More information about the FreeTDS