cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Bruchez <e...@bruchez.org>
Subject Re: esql:getXXX - wrong diagnostics?
Date Tue, 01 Jul 2003 19:32:19 GMT
Probably that Dmitry would have found a line number pointing to his 
<esql:getXXX/> element in the XSP file useful.

-Erik

Joerg Heinicke wrote:

> Why? You use a not existing column name and you get the message "Invalid 
> column name". What's wrong with it?
> 
> Joerg
> 
> Dmitry Diskin wrote:
> 
>> Hello
>>
>> I have been struggling with the following problem for a while: if I 
>> specify non-existing column name in <esql:get-int 
>> column="wrong_column" /></xsp:attribute> tag, I get the following 
>> error message:
>>
>> org.apache.cocoon.ProcessingException: Exception in 
>> ServerPagesGenerator.generate(): java.lang.RuntimeException: Error 
>> executing statement: select something from somewhere : 
>> java.sql.SQLException: Invalid column name
>>
>> I think that is misleading, since the error is not in SQL, but in my 
>> XSp text. It was very hard to find it out.
>>
>> Regards,
>> Dmitry.



---------------------------------------------------------------------
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