[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-604) There is no annotation to specify default value for a column

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu May 3 11:25:04 EDT 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_26840 ] 

Max Rydahl Andersen commented on ANN-604:
-----------------------------------------

workaround: set the default column manually at db level. default values are not relevant unless you use dynamic-insert anyway.

> There is no annotation to specify default value for a column
> ------------------------------------------------------------
>
>                 Key: ANN-604
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-604
>             Project: Hibernate Annotations
>          Issue Type: New Feature
>    Affects Versions: 3.3.0.ga
>            Reporter: Nicolae Bucalaete
>            Priority: Minor
>
> In hibernate annotation you can't specify default value for a column.
> If you use xml files for mapping then you have this feature. 
> I consider that this is a major problem with annotation.

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