1. Unknown character set index for field received from server stackoverflow.comI have an instance of MySQL 5.0.4.1 with an application written in Hibernate. On one of the pages, I get the following error message in the server log: Unknown character ... |
2. TEXT fields - random (?) characters replaced with gibberish forum.hibernate.orgHibernate version: 3.0 Basically after I made switch from my old ways (using prepared statements and SQL statements) to Hibernate, my client pointed out a problem: Whenever I would do HibernateUtil.update( myclass ), where I only changed some INT value, the TEXT field containing description of an object would (apparently) also be updated (even though it wasn't changed) and some gibberish ... |
3. Updating CLOB fields > 4K characters yields null forum.hibernate.orgI cannot update CLOB fields that are longer than 4000 characters. When saving a record with a CLOB field, mapped as @Lob, if the java string property is longer than 4000 characters, a null is inserted. If <4000 characters, it updates correctly. Is this a limitation with hibernate or Oracle, or am I doing something wrong? Hibernate version: 3.1 Mapping documents: ... |
4. char(6) database field, only get the first character forum.hibernate.org |