You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Stevenson, Chris (SSABSA)" <ch...@ssabsa.sa.gov.au> on 2000/02/03 02:59:38 UTC

Fixes for SQL processor

Dear all, 

I am new to this list so please treat me kind if this 
is already being looked at :-)

There are a couple of problems with the SQLProcessor
under cocoon, that cause problems when used with the 
JDBC ODBC driver. I have fixed the problems, but who 
do I see to review my changes and commit them to the 
CVS?

should I post the changed files here?

Specifically, 

1. There is no provision for a login timeout, required
for those pesky slow C language ODBC connections :-)

2. The SQLProcessor reads a column as a String and then
calls the ColumnFormatter which re-reads the same value.
Well it tries to. JDK1.2.2 coredumps :-)

chris.

-- Chris Stevenson ----------------------- SSABSA --
Senior Secondary Assessment Board of South Australia
60 Greenhill Road, Wayville SA 5034, Australia
email: chris@ssabsa.sa.gov.au
phone: (08) 8372 7515
  fax: (08) 8372 7590
----------------------------------------------------

Re: Fixes for SQL processor

Posted by Donald Ball <ba...@webslingerZ.com>.
On Thu, 3 Feb 2000, Stevenson, Chris (SSABSA) wrote:

> I am new to this list so please treat me kind if this 
> is already being looked at :-)
> 
> There are a couple of problems with the SQLProcessor
> under cocoon, that cause problems when used with the 
> JDBC ODBC driver. I have fixed the problems, but who 
> do I see to review my changes and commit them to the 
> CVS?
> 
> should I post the changed files here?
> 
> Specifically, 
> 
> 1. There is no provision for a login timeout, required
> for those pesky slow C language ODBC connections :-)
> 
> 2. The SQLProcessor reads a column as a String and then
> calls the ColumnFormatter which re-reads the same value.
> Well it tries to. JDK1.2.2 coredumps :-)

Send me both patches. Point 2 was addressed by another new developer
shortly before this message, I don't know if you saw it but you'll
certainly see the reply. Both of you may well be interested in my proposed
new syntax for the SQL taglib. It's described here:

http://xml-archive.webweaving.org/xml-archive-cocoon/1773.html

(side note - links to previous discussions - we should use these more to
help keep the conversations focused on code, at least from time to time
:))

- donald