-->
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: Specifying a class name
PostPosted: Mon Nov 10, 2003 9:21 pm 
Newbie

Joined: Mon Nov 10, 2003 9:09 pm
Posts: 3
Hi,

I am using the middlegen tool to generate my hbm.xml files from my database. I am using Ant and to do this I use the MiddlegenTask. It works great, but I dont want to get the classes with the same name of the table.

E.g. for a Labor table I want to get a class named AbstractLabor. Is there any way to specify this property?

Thanks for your help!!!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 11, 2003 6:34 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Currently Middlegen does not allow the class or field names to be changed in the GUI. It is on the TODO list. You could post edit the HBM files but its not a nice solution. R4 should include this feature.


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.