cedric
cedric

Reputation: 3147

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. HOw do I resolve this

Upvotes: 2

Views: 2051

Answers (1)

Bozho
Bozho

Reputation: 597124

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"))

Upvotes: 3

Related Questions