TextField « MySQL « JPA Q&A





1. Problem with TEXT field in MYSQL 5.0 and strange characters    forum.hibernate.org

Everything works fine, but using any text field in MYSQL 5.0, with MYSQLInnoDBDialect, when I try to insert a string with strange characters ("...") it fails. It doesn't matter how long the String is; it only fails with strange characters. I am using utf-8 for java files and utf-8 in MYSQL Database. Hibernate version: 3.2 GA Mapping documents: Using annotations: Code: ...