On 04.Oct.2002 -- 10:30 AM, Gabor Bartha wrote:
> Hi,
>
> I've got Cocoon 2.0.3. I'm developing an application and want to use
> esql for queries.
>
> Here is the following java statement:
>
> String metaName = new
> String(rs.getBytes("metaname"),"ASCII");
>
> Is there any esql template tag to be used instead of this java code, or
> any other solution?
esql:get-string is quite magic and may work, esp. <esql:get-string
encoding="ASCII" column="metaname"/>. the other one would be
esql:get-blob.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>