-->
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: Custom generation
PostPosted: Mon Oct 17, 2005 4:16 pm 
Newbie

Joined: Mon Oct 17, 2005 4:09 pm
Posts: 12
Hi everyone !
One and simple question :
with the automatic reverse engineering tool, how can i generate automaticaly some new other files (one per table) ?
Thanks for all.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 17, 2005 4:30 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
witht the beta1 (which is being built as a write this) you can do the following in ant:

<hbmtemplate template="pojo/generic-class.vm" filepattern="{package-name}/{class-name}.quote"/>

note this will generate per class/component.

<hbmtemplate template="pojo/generic-class.vm" filepattern="main.txt"/>

this will generate per configuraiton ($cfg) from which you can extract whatever you want ;)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Thanks for all
PostPosted: Mon Oct 17, 2005 4:33 pm 
Newbie

Joined: Mon Oct 17, 2005 4:09 pm
Posts: 12
Ok, thanks ... i will download this version ...


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.