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: 05 Apr 2000 10:50:53 +0200

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

MM> I re-wrote the snippet below so that the variables are set to
MM> 2.0 by default and 1.0 if java.version is 1.1x.

I've not been aware of this, sorry.

MM> There's probably a better way to determine the JDBC version
MM> currently installed but this seems to do for now.

Attached is patch to Constructors.java that uses reflection to
determine the JDBC version.

MM> I had to put a ton of Statement.close() lines in my code but that
MM> was pretty easy.

Yes, Craig did a great job forcing programmers to clean up behind
themselves 8^).

MM> Using the FreeTDS JDBC is a bit slower than using the JDBC-ODBC
MM> bridge

I think it depends - my experience is the opposite is true.

I switched to freeTDS because the JDBC-ODBC bridge generated an
exception in RtlpWaitForCriticalSection (or something similar) which
in turn killed the JVM which again killed my servlet engine.

That's what you get for using native code.

Stefan

Attachment: patch20000405
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page