cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carmona Perez, David" <DPerez...@fcc.es>
Subject RE: SQLTransformer bug
Date Fri, 30 May 2003 10:56:28 GMT
Thanks Brian!


--------
David

-----Mensaje original-----
De: Brian Johnson [mailto:johnsbrn@yahoo.com]
Enviado el: jueves, 29 de mayo de 2003 22:30
Para: cocoon-users@xml.apache.org
Asunto: 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


Mime
View raw message