freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Andy Scholz" <andy.scholz AT exodelta.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: How many people use the JDBC driver?
- Date: Wed, 20 Jun 2001 04:28:05 -0400
Hi,
I am new to the list but I have been using the jdbc driver in developing a
solution for a client. I have found it to be very stable and I commend the
author(s) highly for a job very well done.
I am interested to find out how many other people are actually using the
jdbc driver (especially in production) and if it is still under active
development.
Recently I found a problem that I fixed (at least for my purposes) and I
submitted the changes to freetds-jdbc-bugs AT internetcds.com, but with no
reply and it seems no new version is available (since jan this year).
For those that may find it usefull, the details I
submitted are as follows:
///////////////////////////
I found that in some circumstances, exceptions are not being thrown when a
bad update is executed, for example when a field value is too long.
I tracked it down to the getMoreResults() method in Statement.java.
At line 619 in Statement.java we have:
exception = warningChain.addOrReturn(tmp);
The problem seems to be that if you get a warning as well as an error,
the addOrReturn sets the exception value to null and subsequently the
exception isnt thrown.
I changed it to the following:
SQLException e = warningChain.addOrReturn(tmp);
if(e != null)
exception = e;
It now seems to work OK.
//////////////////////////
-
How many people use the JDBC driver?,
Andy Scholz, 06/20/2001
- <Possible follow-up(s)>
- Re: How many people use the JDBC driver?, Stefan Bodewig, 06/20/2001
- Re: How many people use the JDBC driver?, Andy Scholz, 06/20/2001
- Re: How many people use the JDBC driver?, Stefan Bodewig, 06/20/2001
- Re: How many people use the JDBC driver?, Andy Scholz, 06/20/2001
- Re: How many people use the JDBC driver?, pramod . nadig, 06/20/2001
- Re: How many people use the JDBC driver?, Pier Paolo Bortone, 06/20/2001
- Re: How many people use the JDBC driver?, Cedric, 06/20/2001
- Re: How many people use the JDBC driver?, Curt Hagenlocher, 06/20/2001
- Re: How many people use the JDBC driver?, Rod, 06/21/2001
- Re: How many people use the JDBC driver?, James K. Lowden, 06/21/2001
Archive powered by MHonArc 2.6.24.