-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: generating a data dictionary?
PostPosted: Thu Oct 07, 2004 5:40 pm 
Newbie

Joined: Thu Sep 09, 2004 5:09 am
Posts: 7
We are generating our hibernate mappings with XDoclet, we also have our classes and methods documented with Javadoc. We have a requirement for our project to generate a "data dictionary" document - a list of tables, the columns, and descriptions. It occurred to me that all of the data we need is in the Javadoc comments - the standard comments, plus the hibernate tags, so shouldn't it be possible to use XDoclet to generate such a document?

Any ideas? I'd love to be able to generate this automatically as we have around 100 tables each with say 10 columns...


Top
 Profile  
 
 Post subject:
PostPosted: Fri Oct 08, 2004 2:22 am 
Hibernate Team
Hibernate Team

Joined: Thu Dec 18, 2003 9:55 am
Posts: 1977
Location: France
you can hack xdoclet to do it, but it's easier to user metadata api to generate the doc.
Take a look at ClassMetaData + property apis for example, it's very easy to use and you'll be able to get all mapping infos.

_________________
Anthony,
Get value thanks to your skills: http://www.redhat.com/certification


Top
 Profile  
 
 Post subject: Javadoc comments too
PostPosted: Sat Oct 09, 2004 4:07 pm 
Newbie

Joined: Thu Sep 09, 2004 5:09 am
Posts: 7
That seems like it would work nicely for me to get the hibernate mapping info and do something with it, but i was hoping to also pull the Javadoc (non-hibernate) comments as well, which would be the description part of the dictionary


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.