Skip to Content.
Sympa Menu

freetds - Re: JDBC: what kind of MSSQL errors are caught?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Michael Suedkamp" <ms AT suedkm.franken.de>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: JDBC: what kind of MSSQL errors are caught?
  • Date: Wed, 14 Nov 2001 09:54:03 -0500


Bob, I downloaded the driver from the site you recommended
(jtds-0.1.1.jar). However, it still tells me only "The statement has been
terminated".

This is my code snippet:

stmt.executeUpdate("insert into ...");
SQLWarning stmtWarnings = stmt.getWarnings();
System.out.println(stmtWarnings.toString()); // -> The statement has
// been terminated

Please give me an example how to use it.

Thanks

Michael




Archive powered by MHonArc 2.6.24.

Top of Page