-->
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.  [ 2 posts ] 
Author Message
 Post subject: Reverse engineering database table/column comments
PostPosted: Tue Feb 20, 2007 7:46 pm 
Newbie

Joined: Tue Feb 20, 2007 6:04 pm
Posts: 1
Hi,
I am using the HibernateTools to reverse engineer my schema on oracle database. I get everything reverse engineered perfectly. Is there anyway i can get the comments for all the columns to the hbm meta-tag so that my pojos will have the same comments as in the database table.
Is this feature already available with hibernatetools, if so how do i configure it?

BR,
Kathir.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 21, 2007 3:12 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
we don't do it by default since there is not always a perfect match between table/column class/property.

Anyhow - it is possible for you to do in the pojo/*.ftl templates and lookup the table/column comment and add to the javadoc generation.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.