You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-user@db.apache.org by Raphaël Piéroni <ra...@yahoo.fr> on 2005/03/31 16:15:36 UTC
[Encoding] Oracle 8.1.7 and Jdk 1.4.1_07
Hello,
I'm currently having some troubles using Torque 3.0 on linux (debian
stable kernel 2.4.20) with the Sun jdk (1.4.1_07-b02).
I now present the problem :
i use the maven torque plugin 3.0 to insert sql files in the database
(when i cat those files, i can see correctly the accentuated
characters)
then i use junit tests to check the retreiving of values in the
database
i systematically had the error
expected <...?> but was <...?>
i know it is an encoding problem, but i cannot figure how to get rid of
it.
may someone please help me.
Best regards
Raphaël
------------------------------------
| Raphaël Piéroni |
| 33+ 223 351 354 |
| mailto:rpieroni@dexem.com |
| http://www.dexem.com |
| mailing:raphael_mailing@yahoo.fr |
------------------------------------
__________________________________________________________________
Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour vos mails !
Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org
RE: [Encoding] Oracle 8.1.7 and Jdk 1.4.1_07
Posted by Thomas Fischer <fi...@seitenbau.net>.
Hello Raphael,
character encoding problems are very ugly in my experience. They are hard
to find by the user, and even harder by remote advice.
The only thing I can advice you is to pluck the process apart, and find out
exactly where the problem sits, e.g. by inserting and retrieving via sql
console as compared to insert by jdbc and retrieving via sql console, and
so on...
One point worth while checking is that the database encoding is such that
it can actually store accentuated characters correctly.
I am quite sure that it is not a Torque problem.
One thing you might want to know for further research is that Torque uses
prepared statements for all inserts.
Thomas
Raphaël Piéroni <ra...@yahoo.fr> schrieb am 31.03.2005 16:15:36:
> Hello,
>
> I'm currently having some troubles using Torque 3.0 on linux (debian
> stable kernel 2.4.20) with the Sun jdk (1.4.1_07-b02).
>
> I now present the problem :
> i use the maven torque plugin 3.0 to insert sql files in the database
> (when i cat those files, i can see correctly the accentuated
> characters)
>
> then i use junit tests to check the retreiving of values in the
> database
>
> i systematically had the error
> expected <...?> but was <...?>
>
> i know it is an encoding problem, but i cannot figure how to get rid of
> it.
>
> may someone please help me.
>
> Best regards
>
> Raphaël
>
> ------------------------------------
> | Raphaël Piéroni |
> | 33+ 223 351 354 |
> | mailto:rpieroni@dexem.com |
> | http://www.dexem.com |
> | mailing:raphael_mailing@yahoo.fr |
> ------------------------------------
>
>
>
>
>
>
> __________________________________________________________________
> Découvrez le nouveau Yahoo! Mail : 250 Mo d'espace de stockage pour
> vos mails !
> Créez votre Yahoo! Mail sur http://fr.mail.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail: torque-user-help@db.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org