[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3422) Oracle error: ORA-01754: a table may contain only one column of type LONG

Diego Plentz (JIRA) noreply at atlassian.com
Thu Aug 14 23:56:06 EDT 2008


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Plentz resolved HHH-3422.
-------------------------------

      Assignee: Diego Plentz
    Resolution: Rejected

So, this is a Oracle limitation, right? ;-)

> Oracle error: ORA-01754: a table may contain only one column of type LONG
> -------------------------------------------------------------------------
>
>                 Key: HHH-3422
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3422
>             Project: Hibernate3
>          Issue Type: Bug
>    Affects Versions: 3.2.6
>         Environment: Oracle 10g express edition release 10.2.0; Hibernate 3.2.6 GA; org.hibernate.dialect.Oracle10gDialect
>            Reporter: Martin Vařecha
>            Assignee: Diego Plentz
>
> I get this error "ORA-01754: a table may contain only one column of type LONG" during creating tables, because I have JPA bean with these two fields:
>     @Column(name="text_content", length=16000)
>     private String textContent;
>     @Column(name="html_content", length=32000)
>     private String htmlContent;
> For these huge text types column of long type is used and oracle doesn't allow more then one long in the table.

-- 
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