[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-537) Support @Comment or column attribute on @Table and @Column
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Mon Jun 16 10:51:33 EDT 2008
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_30427 ]
Emmanuel Bernard commented on ANN-537:
--------------------------------------
sorry for the delay. A formula cannot have a comment.
As I said you can have multiple columns per property and then several comments on the same property, hence @ ColumnOrFormula to host it.
BTW I am not against the ability to use @Comment straight on the property for simple cases, but the complete feature needs to be implemented as well and that implies the @ColumnOrFormula thing.
It would be nice to have a test case but this can be quite hard. There might be an example in the Hibernate Core test suite.
> Support @Comment or column attribute on @Table and @Column
> ----------------------------------------------------------
>
> Key: ANN-537
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-537
> Project: Hibernate Annotations
> Issue Type: Improvement
> Components: binder
> Affects Versions: 3.2.1
> Reporter: Max Rydahl Andersen
> Attachments: Comment-Annotations-for-hibernate-annotations-3.3.0.ga.diff
>
>
> with hbm2ddl and hbm2doc its a shame that Annotation does not support setting a comment on table and columns.
--
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