my mysql db has utf8 character encoding. In QueryBrowser, I see that special characters are true. In an application using openjpa, I can see the same values as the correct ones. But when I save the object in the database, I have the correct values in the application, but the wrong ones in the database! When I restart the application, that special characters in the application are incorrect. (Since they are selected from the database)
Everything is installed in UTF-8, the Java application works well, reading data from the database is correct, but the problem is when openjpa stores the values in the database, they turn into '?'.
Any ideas? Thanks
source
share