Already fixed on May, 21th, the same day of, but after the 2.1m2 release:

http://cvs.apache.org/viewcvs.cgi/cocoon-2.1/src/blocks/databases/java/org/apache/cocoon/acting/DatabaseAuthenticatorAction.java.diff?r1=1.3&r2=1.4&diff_format=h

But thanks for your effort,

Joerg


Sune Simonsen wrote:
I downloaded cocoon-2.1m2 and made the default build, I could not make
the DatabaseAuthenticator work. When I debugged my application, I
found that the sql looked like this:
Select dbcol1dbcol2 from tablename ...
There is no serration between the columns


Here is the diff file for the fix, I hope you can use it :-)


------------------------------------------------------------------------


224c224,225
<                 queryBuffer.append(dbcol);
---

               //Insert a "," if it's not the last dbcol
               queryBuffer.append(dbcol+((i<columns.length-1)?",":""));



Reply via email to