-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: lazy loading and encoding ISO8859_1
PostPosted: Mon Jun 23, 2008 10:44 am 
Newbie

Joined: Wed Dec 20, 2006 6:19 am
Posts: 3
Hi,

I using hibernate 3 as a data access and mapping solutions inside my application. The backend is a Firebird 1.5.4 Classic Server, the datasource, and session factory are configure with spring.

Then, when i pass the encoding param into connections string, like this.

jdbc.url=jdbc:firebirdsql:192.168.1.4/3050:/datosIB/clientes/xxx/database.fdb?encoding=ISO8859_1

The spanish characters into string properties appears OK. The problem begin when hibernate try to load the related collections or entities with some of this characters. But, if this collection are loaded using a Criteria all is ok. That's sound like hibernate session factory forget to pass encoding param to new sesions.

I try with :

<prop key="hibernate.connection.encoding">ISO8859_1</prop>
<prop key="hibernate.connection.charSet">ISO8859_1</prop>
<prop key="hibernate.connection.lc_type">ISO8859_1</prop>

Any hints?.
Thank in advanced
Danny


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.