Stanislav wrote:

Because you're doing XML, you need to escape XML entities.

Change your value to this:

jdbc:mysql://localhost/databaseName?useUnicode=true&characterEncoding=utf-8

I don't know where to put this :-((((

If I put this line of code in data-source I get error....


Ah you probably configure your datasource in an XML file, so the ampersant (or however it's called in english) '&' has to be escaped as an XML entity (&). Try:

jdbc:mysql://localhost/databaseName?useUnicode=true&characterEncoding=utf-8

hth,

Manos

Maybe I'm crazy now, but I don't see any changes between yours part of code and 
the one that make me
problem :-((((


Either i did the mistake or my email client :-)

the '&' character must become & (thats one of the five predefined XML entities) so the URI (one more try now) must be

jdbc:mysql://localhost/databaseName?useUnicode=true&characterEncoding=utf-8



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to