[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4341?page=c...
]
Darren Bell commented on HHH-4341:
----------------------------------
If we had a defaultValue property on the @Column annotation, hibernate could use the
current dialect to add the default value at the database level. This would then be
database agnostic.
thoughts?
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