Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Issues List »

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

Anupam M (JIRA)

2008-08-07

Replies: Find Java Web Hosting

Author LoginPost Reply
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


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

   

_______________________________________________
hibernate-issues mailing list
hibernate-issues@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-issues
©2008 gg3721.com - Jax Systems, LLC, U.S.A.