Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 6405 invoked by uid 500); 29 May 2003 20:50:58 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 6391 invoked from network); 29 May 2003 20:50:57 -0000 Received: from lilly.ping.de (62.72.90.2) by daedalus.apache.org with SMTP; 29 May 2003 20:50:57 -0000 Received: (qmail 8816 invoked from network); 29 May 2003 20:51:01 -0000 Received: (ofmipd 195.138.42.78); 29 May 2003 20:50:39 -0000 Date: 29 May 2003 22:52:47 +0200 Message-ID: <001f01c32624$4334fc90$a501a8c0@computer2> From: "Andreas Kuckartz" To: cocoon-users@xml.apache.org References: <569C2278-9214-11D7-B39C-000393DB9A58@yahoo.com> Subject: Re: SQLTransformer bug MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N That seems to be this one: [PATCH] SQLTransformer Query object prematurely closes connection causing NullPointerException when accessing ResultSet http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12173 Andreas ----- Original Message ----- From: "Brian Johnson" To: Sent: Thursday, May 29, 2003 10:30 PM Subject: Re: SQLTransformer bug > I reported this bug and posted a fix many months ago, but nothing has > been done with it. It seems to only affect certain databases. I'd be > glad to forward you the code. > Brian > > On Wednesday, May 28, 2003, at 09:36 AM, Carmona Perez, David wrote: > > > Dear Cocooners, > > > > I've think I found a bug in the SQLTransformer in Cocoon 2.0.4, at > > least under Informix. > > > > I use a simple query (select * from table) and it fails. After having > > investigated a bit, I've come to the conclusion that it tries to do > > the following > > > > open connection > > create prepared statement > > get resultset > > close connection > > navigate through the gathered resultset > > > > Of course when navigating through the resultset, you get an > > SQLException. > > If I comment out the connection closing, everything works ok. > > > > The right order would need to be: > > > > open connection > > create prepared statement > > get resultset > > navigate through the gathered resultset > > close connection > > > > > > Has this happened to anyone else? > > > > -------- > > David > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org