freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Jonathan Carlson" <jcarlson AT is.com>
- To: freetds
- Subject: TdsConfused error
- Date: Tue, 18 Jul 2000 18:49:44
Does this look like something I can work around easily?
com.internetcds.jdbc.tds.TdsConfused: Protocol confusion- Was expecting a
length of 17, got 2
at com.internetcds.jdbc.tds.Tds.getDecimalValue(Tds.java:1622)
at com.internetcds.jdbc.tds.Tds.getRow(Tds.java:1921)
at com.internetcds.jdbc.tds.Tds.processSubPacket(Tds.java:1344)
at com.internetcds.jdbc.tds.ResultSet_base.next(ResultSet_base.java:1508)
....
This is the SQL I was executing....
SELECT Person.PersonId, Person.Name, Person.Age, Person.Wealthy,
Person.LastUpdated FROM Person_jcarlson Person WHERE Person.PersonId=2
In case it helps, this is the CREATE statement for the test table I was
selecting from:
CREATE TABLE Person_jcarlson (
PersonId Integer PRIMARY KEY,
Name Varchar(32) NOT NULL,
Age Numeric NULL,
Wealthy Numeric(1) DEFAULT 0,
LastUpdated DateTime NOT NULL )
Any help would be greatly appreciated!
Jonathan Carlson
Java Developer
is.com
Minneapolis, Minnesota
-
TdsConfused error,
Jonathan Carlson, 07/18/2000
- <Possible follow-up(s)>
- Re: TdsConfused error, Bob Kline, 07/18/2000
Archive powered by MHonArc 2.6.24.