-->
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: Middlegen differents class and table names
PostPosted: Thu Oct 02, 2003 4:41 am 
Expert
Expert

Joined: Thu Sep 04, 2003 8:23 am
Posts: 368
Hi,

All my tables names begin with 'T'. Is it possible to tell hibernate's middlegen plugin to strip the 'T' for all the classes names ? If not, is it possible to do that with a velocity template like the one that can be found in the thread http://forum.hibernate.org/viewtopic.php?t=245

Thanx

Seb


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 02, 2003 6:36 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
At this point the tables names -> class names can not be renamed in Middlegen. It is half way there but not completed thus it is disabled. I suppose you could change the velocity template or post process the hbm file.


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.