Setup MySQL JDBC connection to use unicode UTF-8 on Spring-managed

I got a problem is CAN NOT save unicode string to MySQL database when using Hibernate 4. I tried multiple solutions: specified the JDBC URL as jdbc:mysql://localhost:3306/[database_name]?useUnicode=yes&characterEncoding=utf8, played with my.ini file to force everything in the database to default to utf8 charset. But its not worked! The JDBC Driver should be provided two items in […]

Read More