utf « MySQL « JPA Q&A





1. Why do Unicode characters show up properly in database, but as ? when printed in Java via Hibernate?    stackoverflow.com

I'm writing a webapp, and interfacing with MySQL using Hibernate 3.5. Using "?????? ?????????" as my test string, I can input the string and see that it is properly persisted ...

2. OpenJPA & MySQL persist wrong encoded characters    stackoverflow.com

my mysql db has character encoding utf8. In QueryBrowser i can see special characters are correct. In appplication using openjpa i can see the same values also correct. But when I persist ...