Hibernate Encoding
Im trying to insert data with japanese characters to an oracle database. The things is what is saved in the database are bunch of inverted question marks. HO开发者_JAVA技巧w do I resolve this
See http://www.errcode.net/blogs/?p=6 to determine the encoding of your database. I'm currently using Oracle with Hibernate in UTF-8 with no extra configurations.
Aslo, you might want to check whether the input values come correctly encoded. For example, if you have a web application, check the request parameter encoding (or set it, with request.setCharacterEncoding("utf-8")
)
精彩评论