[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1501?page=c...
]
Steven Swor commented on HHH-1501:
----------------------------------
This is a documented issue with Derby:
http://issues.apache.org/jira/browse/DERBY-102
The Derby team's "fix" was to make their documentation reflect the ~32K
character limit instead of increasing the limit itself.
So, to make a long story short, Derby doesn't allow VARCHAR, LONG VARCHAR, VARCHAR FOR
BIT DATA, or LONG VARCHAR FOR BIT DATA columns longer than ~32K.
So it sounds like the real "fix" for Hibernate would be for someone to go into
the Derby project and increase the limit there.
Derby 10 varchar limit is 32672
--------------------------------
Key: HHH-1501
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1501
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.1.2
Environment: Derby 10
Reporter: Sergey Vladimirov
Priority: Trivial
Derby 10 varchar limit is 32672.
One need to change DB2Dialect and DerbyDialect to create clob columns, if size of text
> 32k:
registerColumnType(Types.CHAR, 254, "char(1)");
registerColumnType(Types.VARCHAR, 32672, "varchar($l)");
registerColumnType(Types.VARCHAR, Integer.MAX_VALUE, "clob($l)");
(BTW, char limit is 254).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira