cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurelien DEHAY <aurelien.de...@sncf.fr>
Subject Re: sql sample throws blank page...newbie
Date Tue, 19 Jun 2001 13:11:39 GMT
java guru <javacocoon@yahoo.co.in> writes:

> The log file didnt show any error..or may be i am
> missing it...
> 
> Anyway, I was using following code(note the
> esql:error-results) for catching database exceptions..
> 
>      <esql:execute-query>
>        <esql:query>select * from
> department_table1</esql:query>
>        <esql:results>
>          <esql:row-results>
>            <para><esql:get-string
> column="name"/></para>
>            <esql:get-columns/>
>          </esql:row-results>
>        </esql:results>
>        <esql:error-results>
>        	<para> this is error </para>
>        </esql:error-results>
>        
>      </esql:execute-query>
> 

I'm not sure that * is a good thing. Try putting a column name.

-- 
Aurélien

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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