[hibernate-issues] [Hibernate-JIRA] Created: (ANN-547) Typo in Docs: 2.2.2.2 Declaring Column Attributes

John Yesberg (JIRA) noreply at atlassian.com
Tue Jan 30 06:27:40 EST 2007


Typo in Docs: 2.2.2.2 Declaring Column Attributes
-------------------------------------------------

         Key: ANN-547
         URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-547
     Project: Hibernate Annotations
        Type: Bug

  Components: documentation  
    Versions: 3.2.1    
 Environment: Any
    Reporter: John Yesberg
    Priority: Trivial


The following text suggests that "nullable" for a @Column is true by default, and then false by default.

@Column(
    name="columnName";                                (1)
    boolean unique() default false;                   (2)
    boolean nullable() default true;                  (3)
    boolean insertable() default true;                (4)
    boolean updatable() default true;                 (5)
    String columnDefinition() default "";             (6)
    String table() default "";                        (7)
    int length() default 255;                         (8)
    int precision() default 0; // decimal precision   (9)
    int scale() default 0; // decimal scale

(3)	nullable (optional): set the column as nullable (default false).

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