]
Steve Ebersole closed HHH-898.
------------------------------
Closing stale resolved issues
OracleDialect UTF8 varchar2
---------------------------
Key: HHH-898
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-898
Project: Hibernate Core
Issue Type: Improvement
Components: core
Affects Versions: 3.0.5
Reporter: Andrey Grebnev
Assignee: Gavin King
Fix For: 3.1 rc 1
By default Oracle interprets varchar2($l) as varchar2($l byte) It means that the length
of string is 255 bytes. When I use ASCII symbols it is acceptably.
But when I store UTF8 strings the length is really shorter. But most of all DBMS implies
the length in chars not in bytes.
I propose to change the line
registerColumnType( Types.VARCHAR, 4000, "varchar2($l)" );
to
registerColumnType( Types.VARCHAR, 4000, "varchar2($l char)" );
in order to have length of strings in chars by default.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: