[hibernate-dev] annotation for adding column comments for hbm2doc

Max Rydahl Andersen max.andersen at redhat.com
Sun Jan 27 17:38:20 EST 2008

Take a look at how HbmBinder setups comments for column (by calling comment.setComment()) and then 
implement the same for AnnotationBinder.

Look how org.hibernate.annotations.Table is implemented and do a similar mechanism for org.hibernate.annotations.Column.

this last part is just my suggestion; maybe Emmanuel would like to expose this in a different way ?


> Hi,
> I am looking for annotation to add column comments specifically for
> documentation (hbm2doc). I understand that there is no support for this
> currently.
> http://opensource.atlassian.com/projects/hibernate/browse/ANN-537
> I am interested in contributing towards this.
> I had hard look at the source code (especially AnnotationBinder.java,
> EJB3Column.java etc, table.ftl, DocExporter.java), but still I could not
> figure how to provide this support.
> Please let me know how many days it will take.
> I have more than 8 years of Java development experience, and I can pickup
> things quickly. Please guide me.
> Thanks & Regards,
> Prasanna

Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

More information about the hibernate-dev mailing list