freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Michael Suedkamp" <ms AT suedkm.franken.de>
- To: freetds
- Subject: JDBC-0.2 Test 0023 fails with MSSQL7
- Date: Tue, 14 Mar 2000 10:34:16
Hi,
I am new with the JDBC-0.2 driver and MSSQL 7.
When running the test suite, t0023 fails with the message below:
It's the row (1.7E-308, 'adhoc', ...) which gives the error.
Manual inserting succeeds, so I wonder what the reason is.
Michael
--------------------------
javac -g t0023.java
(CLASSPATH=`pwd`/..:.:$CLASSPATH java t0023)
test using a float as a primary key
Creating table affected 0 rows
java.sql.SQLWarning: Violation of PRIMARY KEY constraint
'PK__t0023__6C190EBB'.
Cannot insert duplicate key in object 't0023'.
at
com.internetcds.jdbc.tds.SqlMessage.toSQLWarning(SqlMessage.java:80)
at
com.internetcds.jdbc.tds.Statement.getMoreResults(Statement.java:597)
at com.internetcds.jdbc.tds.Statement.execute(Statement.java:463)
at
com.internetcds.jdbc.tds.Statement.executeUpdate(Statement.java:146)
at t0023.main(t0023.java:78)
make: *** [t0023] Error 1
----------------------------------
- JDBC-0.2 Test 0023 fails with MSSQL7, Michael Suedkamp, 03/14/2000
Archive powered by MHonArc 2.6.24.