[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-604) There is no annotation to specify default value for a column
Thomas Einwaller (JIRA)
noreply at atlassian.com
Mon May 12 11:34:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30160 ]
Thomas Einwaller commented on ANN-604:
--------------------------------------
@Nate: as David pointed out this feature would be especially useful when adding columns do an existing table that already contains entries - in this case all the existing entries get a null value in the database and therefor can not be restored anymore
> 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
> Components: binder
> 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