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
|