[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3240) In Derby field type 'text' is converted to CLOB(255)
Strong Liu (JIRA)
noreply at atlassian.com
Mon Mar 22 01:40:32 EDT 2010
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35902#action_35902 ]
Strong Liu commented on HHH-3240:
---------------------------------
https://anonsvn.jboss.org/repos/hibernate/core/trunk/testsuite/src/test/java/org/hibernate/test/lob/TextTest.java
Alexandra, would you please run this test on derby and take a look?
I just run it :
create table LOB_ENTITY_TEXT (
ID bigint not null,
LONG_STR long varchar,
primary key (ID)
)
> In Derby field type 'text' is converted to CLOB(255)
> ----------------------------------------------------
>
> Key: HHH-3240
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3240
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1
> Environment: Hibernate 3.1, Derby 10.3.2.1
> Reporter: Aleksander Rozman
> Assignee: Strong Liu
> Fix For: 3.5.0.Beta-1, 3.5.0-Beta-2, 3.5.0-Beta-3
>
>
> When using type 'text' this is incorectly converted to CLOB(255). Derby has several long var char types which could be used instead, but instead it's defaulted to clob(255).
> I have taken a look at source from 3.1 and 3.2.6 (latest) and this code is still the same... I think that just little fix in DerbyDialect would be enough... I would try this myself but I am currently lacking time and resources.
> I hope this will be taken care of as soon as it gets...
--
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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list