-->
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: Help needed on removing catalog from output files (reveng)
PostPosted: Thu Jan 14, 2010 4:27 am 
Newbie

Joined: Thu Jan 14, 2010 4:07 am
Posts: 8
Hello,

The database is DB2 on AS400.
I'm using IBM Rational® Application Developer™ for WebSphere® Software Version: 7.5.0
HibernateTools-3.2.4.GA-R200905070146-H18

When I use reverse engineering, I get the catalog in the hbm.xml and the java files, which is normal.
I intend to use the same generated files on 3 different servers (identical except for the catalog)

I have the option of manually deleting those values, but is there a way to make reverse engineering ignore the catalog on the output files?

Thank you.


Top
 Profile  
 
 Post subject: Re: Help needed on removing catalog from output files (reveng)
PostPosted: Thu Jan 14, 2010 5:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
set hibernate.default_catalog when reverse engineering and it won't print out catalogs that are the default.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re: Help needed on removing catalog from output files (reveng)
PostPosted: Thu Jan 14, 2010 6:22 am 
Newbie

Joined: Thu Jan 14, 2010 4:07 am
Posts: 8
Thanks, that's excellent, it worked.


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.