ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Odelya YomTov" <ode...@jpost.com>
Subject RE: problem with insert
Date Tue, 14 Jul 2009 19:00:01 GMT
Hi!

It's not the problem with the log file encoding.

It's something is the connection between ibatis and mysql

 

 

From: Nicholoz Koka Kiknadze [mailto:kiknadze@gmail.com] 
Sent: Tuesday, July 14, 2009 9:52 PM
To: user-java@ibatis.apache.org
Subject: Re: problem with insert

 

Is it possible that you just did not set your log file encoding? Kind of

log4j.appender.someappender.Encoding=UTF-8

 

 

On Tue, Jul 14, 2009 at 8:40 PM, Odelya YomTov <odelya@jpost.com> wrote:

Hi!

I am trying to insert data in Hebrew into the database

The table is set to utf-8.

But in the log file I see:

DEBUG [http-12091-Processor24] - Created connection 27901603.
DEBUG [http-12091-Processor24] - {conn-100000} Connection
DEBUG [http-12091-Processor24] - {pstm-100001} PreparedStatement:      SELECT      *     FROM
users     WHERE NAME = ? AND PASSWORD = ?
DEBUG [http-12091-Processor24] - {pstm-100001} Parameters: [×ž× ×”×œ, ×ž× ×”×œ×™×œ×§×•×˜]
DEBUG [http-12091-Processor24] - {pstm-100001} Types: [java.lang.String, java.lang.String]
DEBUG [http-12091-Processor24] - {rset-100002} ResultSet
DEBUG [http-12091-Processor24] - Returned connection 27901603 to pool.

Which means that I receive rubbish.

What can I do to handle it?

My browser reads Hebrew all right (I wrote something in struts and I see that the messages
that I get back for the user are in Hebrew)




---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org





************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer viruses.
************************************************************************************


Mime
View raw message