freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Bob Kline <bkline AT rksystems.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: JDBC: what kind of MSSQL errors are caught?
- Date: Wed, 14 Nov 2001 14:17:23 -0500 (EST)
On Wed, 14 Nov 2001, Bob Kline wrote:
> On Wed, 14 Nov 2001, Michael Suedkamp wrote:
>
> > No there isn't anything more in the warning chain. Maybe I should
> > post a little SQL script that creates a test db and a little java
> > program that inserts a row so that someone is able to reproduce my
> > problem.
>
> Sounds like a good idea. Go ahead and post your repro and we'll see
> what it looks like here.
Actually, I can see what's happening here just by looking at the code in
Tds.java. The processMsg() method of the Tds class is displaying the
server messages on standard error if TDS_SHOW_WARNINGS is set in the
runtime environment, but there's no execution path that appends the
messages to the warning chain. There is some code which would append
messages to the chain for stored procedure invocation (in the
submitProcedure() method), but even that's commented out, and it
wouldn't handle Michael's case.
SB:
Two questions:
1. Do you recall why the code in submitProcedure is commented out?
2. Do you want to consider adding the code to pick up the messages
returned by processMsg()? Perhaps one place might be where my
(now obsolete) comment reads "the getWarnings() methods aren't
implemented, ...."
--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com
-
Re: JDBC: what kind of MSSQL errors are caught?,
Bob Kline, 11/10/2001
- <Possible follow-up(s)>
- JDBC: what kind of MSSQL errors are caught?, Michael Suedkamp, 11/10/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Michael Suedkamp, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Bob Kline, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Stefan Bodewig, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Michael Suedkamp, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Michael Suedkamp, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Bob Kline, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Bob Kline, 11/14/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Stefan Bodewig, 11/15/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Schörk, Andreas, 11/15/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Stefan Bodewig, 11/15/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Schörk, Andreas, 11/15/2001
- Re: JDBC: what kind of MSSQL errors are caught?, Stefan Bodewig, 11/19/2001
Archive powered by MHonArc 2.6.24.