Error in Netbeans(?): attribute column name (length) is a reserved Java Persistence QL keyword
        Posted  
        
            by Tgorton
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Tgorton
        
        
        
        Published on 2010-03-26T12:46:41Z
        Indexed on 
            2010/03/28
            12:23 UTC
        
        
        Read the original article
        Hit count: 310
        
jpa
I have a column named length in an Oracle database.  I cannot change the column name. When I use the @Column(name="length") in a JPA Entity I get the following error: 
attribute column name (length) is a reserved Java Persistence QL keyword
I am using the Netbeans 6.8 IDE.
Any ideas on this?
Thanks
© Stack Overflow or respective owner