java - JDBC character encoding -
I have a Java web application that is running MySQL on Glassfish 3 and JPA (EclipseLink). The problem I am experiencing is that if I lose the integrity with the code to the codes with codes, the update ()
method, string
; '?'
is shown instead of a few characters.
The server, page, and database UTF-8
.
string
property of the current entity is correct Stores the price, do not know if NetBusiness Debug can be trusted; It may be properly decoded, but this is wrong.
This is JDBC, not JPA which determines the encoding:
< Code> jdbc: mysql: // localhost: 3306 / admin? Encoding = UTF8
Comments
Post a Comment