cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <h...@dvs1.informatik.tu-darmstadt.de>
Subject Re: esql tag instead of java ResultSet.getBytes()
Date Fri, 04 Oct 2002 16:14:57 GMT
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
haul@informatik.tu-darmstadt.de
    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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message