[
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira