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

Emmanuel Bernard (JIRA) noreply at atlassian.com
Sat Feb 10 02:33:40 EST 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-547?page=all ]
     
Emmanuel Bernard resolved ANN-547:
----------------------------------

    Fix Version: 3.2.2
     Resolution: Fixed
      Assign To: Emmanuel Bernard

thanks
the default is nullable=true

> 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
>     Assignee: Emmanuel Bernard
>     Priority: Trivial
>      Fix For: 3.2.2

>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> 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