freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: ResultSet.getBoolean() against a BIT columntype always returns fa lse
- From: Maraya Michael <maraya-michael AT dol.gov>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: ResultSet.getBoolean() against a BIT columntype always returns fa lse
- Date: Fri, 14 Apr 2000 12:14:06 -0400
Stefan,
You're absolutely right. I ran the test you sent and there's
nothing wrong with the driver. I was able to locate the problem and found
that I had screwed up in a mutator method in my code. Sorry for the false
alarm and thanks for your help (again!).
.\\
----------
From: Stefan Bodewig[SMTP:bodewig AT bost.de]
Sent: Friday, April 14, 2000 10:22 AM
To: TDS Development Group
Subject: [freetds] Re: ResultSet.getBoolean() against a BIT
columntype always returns fa lse
<<File: bittest.java>>
>>>>> "MM" == Maraya Michael <maraya-michael AT dol.gov> writes:
MM> Hello, ResultSet.getBoolean() seems to return false when the
MM> column passed is a BIT ( 0 == false, 1 == true ) regardless of
MM> what the content of the column is.
Sorry, I cannot confirm this. The appended testcase - needs
Common.java from the unittests directory - works for me (SQL Server
7.0) and checks exactly the implied semantics (0==false, 1==true).
Stefan
-
Re: ResultSet.getBoolean() against a BIT columntype always returns fa lse,
Maraya Michael, 04/14/2000
- <Possible follow-up(s)>
- Re: ResultSet.getBoolean() against a BIT columntype always returns fa lse, Stefan Bodewig, 04/17/2000
Archive powered by MHonArc 2.6.24.