-->
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: Middlegen: Can I specify a different classname for my tables
PostPosted: Fri Nov 12, 2004 2:04 pm 
Newbie

Joined: Fri Oct 29, 2004 1:05 pm
Posts: 10
Hi,

I'm generating .hbm.xml files with middlegen and using hbm2java to create java files. I have ugly table names and rows that look like:

actvdriv

The generated class name is "Actvdriv" but I want it to say ActiveDriver. Is this at all possible?

L


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 12, 2004 2:40 pm 
Newbie

Joined: Fri Oct 29, 2004 1:05 pm
Posts: 10
By modifying the middlegen properties file, I've been able to do this. If there's a quicker/better way, I'd still like to hear about it.

L


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 13, 2004 5:56 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Not at this stage - it is on top of the list when I get a moment or two. You could look at it yourself if you like. Patches welcome.


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.