Hi,
I have a problem with Hibernate and MySQl 5.
I work with Tomcat 5.5.17,Hibernate 3.1.3,OpenCms and Servlets.
I have the next error:
Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=';
I need to configurate Hibernate to work with UTF-8 and I can't change the any character_set of the MySQL because It's a especification of proyect.
I have seen and try the next property in the net for Hibernate.cfg.xml
<property name="hibernate.connection.charset">UTF-8</property>
but It doesn't work.
I look for some examples in the net but I can resolve my problem because lot of them need that I change the MySql configuration.
Thanks
|