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 .

P> After posting form data, the next page shows the data correctly, in addition to Netbeans debugging "looks" that the 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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -