After the SQLTransformer and Filter the xml files looks
like:
?xml version=1.0 encoding=ISO-8859-1 ?
- page xmlns:sql=http://apache.org/cocoon/SQL/2.0;
titleNew Books List/title
- sql
- rowset xmlns=http://apache.org/cocoon/SQL/2.0;
- block id=1
- row
id460/id
hotelnameAdler/hotelname
The thing is, that it worked with Cocoon 2.1.4, and
now stopped working. Anyone having sql:block running
with Cocoon 2.1.5?
Rui Alberto L. [ISO-8859-1] Gonves writes:
On Wed, 2004-06-09 at 12:17, Patrick Schlaepfer wrote:
After the SQLTransformer and Filter the xml files looks
like:
?xml
Hi Joseph
Need a bit more informations about your setup.
Operating system, using Tomcat...
Patrick
I am a newcomer to Cocoon. I would like to connect to a Mysql database.
I have downloaded the JDBC driver, but I have difficulties loading the
driver into the Cocoon environment and
For my part it is working now, patched SQLTransformer, that
everything gets back as byte[], and now the UTF-8 characters
are encoded correctly. Do know it's a hack, but if
someone is interested could send my setup, or post it somewhere.
Cheers
Patrick
Hi there
After changing the code in SQLTransformer, UTF-8 characters
are encoded correctly.
Now do have another question. I'd like to store the
SQLTransformer result in a session, and page thru
this result-set stored in the session. Is there
any HOW-TOs, or any other approach to solve this item.
/SQLTransformer
Le 31 mars 04, à 16:23, Patrick Schlaepfer a écrit :
Made the observation that SQLTransformer, doesn't care
that much about character Encoding:
String retval = SQLTransformger.getStringValue(rs.getObject(i));
and then returns a new String((byte[]) object)
According
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 1. April 2004 08:06
An: [EMAIL PROTECTED]
Betreff: Re: AW: Unicode Umlauts/SQLTransformer
Le 1 avr. 04, à 07:52, Patrick Schlaepfer a écrit :
I wrote a small standalone class, to test
.getString()
vs
.getBytes()
and .getString doesn't