[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4341?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira