freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Adrian Hill" <adrian.hill AT nrm-internet.net>
- To: freetds AT franklin.oit.unc.edu
- Subject: Setting version numbers (again) :*-(
- Date: Wed, 11 Apr 2001 06:29:21 -0400
Hi again!
Still having problems with the tds driver I'm afriaid to say: If I pull
binary data from a database with a field length of 128 the it gives me a
java.lang.NegativeArraySizeException when I execute the SQL statement.
I suspect this is because I have not set the tds version in my connect
statement. As I understand it, the connection should be made as follows:
jdbc:freetds:sqlserver://127.0.0.10/MYDatabase;tds=7.0", "sa", "");
But it gives an error...
java.sql.SQLException: Bad database name- MYDatabase;tds=7.0
If I connect without the ";tds=7.0" appended to my database name then it
all works. Please could somebody help me solve this problem before I tear
the rest of my hair out! Many thanks,
Adrian.
-
Setting version numbers (again) :*-(,
Adrian Hill, 04/11/2001
- <Possible follow-up(s)>
- RE: Setting version numbers (again) :*-(, Jez Humble, 04/11/2001
- RE: Setting version numbers (again) :*-(, Adrian Hill, 04/11/2001
- RE: Setting version numbers (again) :*-(, Bob Kline, 04/11/2001
Archive powered by MHonArc 2.6.24.