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

Gabriel Millán (JIRA) noreply at atlassian.com
Fri Oct 16 10:19:42 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34219#action_34219 ] 

Gabriel Millán commented on HHH-4341:
-------------------------------------

I agree the priority of this issue should be higher. There is no way to make the schema have a default value without using columnDefinition, which will mean having specific database notation on your entities.    

> There is no annotation to specify default value for a column
> ------------------------------------------------------------
>
>                 Key: HHH-4341
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4341
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: annotations
>            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