I would like Hibernate, when generating DDL, to include comments from my java source. I'd be happy to do this as an annotation, or as a javadoc tag.
IOW: I'd like to be able to go
@Entity
@DDLComment "This entity is cool"
class Foo {
@DDLComment "But this field is kinda lame"
int lame_o_rama;
And (in oracle), hibernate should generate
CREATE TABLE FOO ( LAME_O_RAMA number };
COMMENT ON FOO IS 'This entity is cool';
COMMENT ON FOO.LAME_O_RAMA 'But this field is kinda lame';
Is there a annotation, doc tag, config option, etc etc, to do this?