java - Postgres UTF-8 clobs with JDBC -
postgres jdbc driver seems not handle utf-8 clobs correctly. when retrieve clob characters not correct (you ? marks non ascii characters).
supposedly known issue:
- http://archives.postgresql.org/pgsql-bugs/2010-09/msg00034.php
- https://jira.springsource.org/browse/spr-7520
- http://archives.postgresql.org/pgsql-jdbc/2011-02/msg00032.php
luckily application avoid clobs fields clobs have made big varchars.
how other people dealing limitation?
adding @type(type="org.hibernate.type.stringclobtype") clob description in hibernate solves me.
Comments
Post a Comment