-->
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: Cannot get non-default class names with reveng
PostPosted: Wed Nov 12, 2008 6:34 am 
Newbie

Joined: Fri Jul 18, 2008 8:27 am
Posts: 3
Hi,

I have a problem doing reverse engineering with ver. 3.2.2.Beta1 of Tools with Eclipse.

I want to have non-default class names, so I define several entries like this in hibernate.reveng.xml:

<table name = 'table_name' class = 'ClassName'>
</table>

with no content inside the table tag.

But the reverse engineering procedure seems to just ignore these new class names & generates classes with default names. Full class names (with package specification) do not help.

Am I doing something wrong?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 12, 2008 6:49 am 
Newbie

Joined: Fri Jul 18, 2008 8:27 am
Posts: 3
Oops, sorry, I just had to specify the catalog, not only the table name.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 19, 2008 7:56 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
or simply set the default catalog then you wont need to specify it in the datase.

_________________
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.  [ 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.