cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: AW: SQLProcessor MS SQL Server
Date Fri, 12 May 2000 18:07:55 GMT
On Fri, 12 May 2000, Brian P Millett wrote:

> "Schmitt, Christian" wrote:
> 
> > Hi Matthew,
> > we stumbled across the same using an Informix database.
> > We patched org.apache.cocoon.processor.sql.SQLProcessor.java.
> >
> > At line 294 it reads:
> > st.close(); conn.commit();
> >
> > We replaced that with:
> > st.close();
> > if (!conn.getAutoCommit()) conn.commit();
> >
> > May be this ought to be incorporated into Cocoon.
> >
> > Hope this helps,
> > Christian Schmitt
> >
> 
> You might find that this patch works a little better.  You see there is a
> commit in the catch clause that will also error for you.  I believe this
> patch was submitted to Donald.

Whoops, if it was I neglected to apply it. I'll get down off my high horse
now.

- donald


Mime
View raw message