-->
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: hibernate auto-generate classes
PostPosted: Mon Aug 20, 2007 11:37 am 
Newbie

Joined: Tue Aug 14, 2007 2:46 am
Posts: 7
Hey guys,

I am using the hibernate tool "hbm2java" to convert the hbm files to java domain files.

I want to override the equals() method in about 20 of these hbm classes. However, once I write the equals() methods, and then rerun the 'hbm2java' tool this will over-write my current changes.

What is a work-around for this? Any recommendations? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 20, 2007 2:46 pm 
Newbie

Joined: Tue Aug 14, 2007 2:46 am
Posts: 7
nm.

found this.

http://www.onjava.com/pub/a/onjava/2005 ... tml?page=6


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.