Comments are set on Columns in the Hibernate meta model
So you need a column annotation to host the comment element

@Column(comment="")

This is what Prasanna has done if I remember correctly. As Max said, it would be cool to have the fix attached in JIRA in patch form. Applying it is much easier. Note that a small unit test would be cool too :))

On  Feb 8, 2008, at 17:52, Oliver B. Fischer wrote:

Hello,

can you give me an more detailed example of the annotation you imagine?

Bye,

Oliver

Emmanuel Bernard schrieb:
Does not work well for properties with multiple columns and entities with multiple tables
On  Jan 30, 2008, at 09:14, Oliver B. Fischer wrote:
Hello Emmanuel,

wouldn't an annotation like this if you wan't to comment an table


--
Oliver B. Fischer                  Tel.    +49 (0)30 44 79 32 51
Schönhauser Allee 64               Mobil:  +49 (0)178 7903538
D-10437 Berlin                     mailto:[EMAIL PROTECTED]




_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to