[hibernate-issues] [Hibernate-JIRA] Issue Comment Edited: (HHH-7264) CLOB Length Set to 255 By Default With Derby DB

ian mockford (JIRA) noreply at atlassian.com
Fri Apr 20 02:27:48 EDT 2012


    [ https://hibernate.onjira.com/browse/HHH-7264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46359#comment-46359 ] 

ian mockford edited comment on HHH-7264 at 4/20/12 1:26 AM:
------------------------------------------------------------

The comment/fix above from Venkatesh refers to BLOB, but this issue (HHH-7264) is about CLOB. BLOB is covered by (and already fixed by) HHH-2614.

      was (Author: trtdev87):
    The comment/fix above from Venkatesh refers to BLOB, but this issue () HHH-7264) is about CLOB. BLOB is covered by (and already fixed by) HHH-2614.
  
> CLOB Length Set to 255 By Default With Derby DB
> -----------------------------------------------
>
>                 Key: HHH-7264
>                 URL: https://hibernate.onjira.com/browse/HHH-7264
>             Project: Hibernate ORM
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 4.0.1
>         Environment: Derby 10.8.2.2
>            Reporter: ian mockford
>            Assignee: Strong Liu
>         Attachments: hibernate-derby-test.zip
>
>
> When using JPA/Hibernate with a Derby DB, an @Lob annotation on a String gets truncated to a max of 255 chars.
> For example:
> private String message;
> @Lob
> @Column(name = "MESSAGE")
> public String getMessage() {
>     return message;
> }
> Attached is a Maven project with a test case showing the problem; the Derby can be changed to H2 to make the tests pass.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list