-->
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: Modify reverse enginnering stratigy to generate Collection
PostPosted: Wed Apr 27, 2011 12:41 pm 
Newbie

Joined: Tue Apr 19, 2011 9:25 am
Posts: 5
Is there a way by which I can configure so the that toll generate Collection instead of Set.

Right now the tool is generating the Set by default.

I know netbeans supports both collection and Set for one to many relationship


Top
 Profile  
 
 Post subject: Re: Modify reverse enginnering stratigy to generate Collection
PostPosted: Wed May 04, 2011 8:08 am 
Senior
Senior

Joined: Tue Aug 04, 2009 7:45 am
Posts: 124
You need to configure exporter with your own helper class like Cfg2JavaTool, but different getJavaTypeName method or you need to use custom templates. There were a lot of similar questions on the forum, please search.


Top
 Profile  
 
 Post subject: Re: Modify reverse enginnering stratigy to generate Collection
PostPosted: Mon May 09, 2011 10:53 am 
Newbie

Joined: Tue Apr 19, 2011 9:25 am
Posts: 5
Thanks Dmitry.

This helped me to solve my problem.

Thanks,
Alpha.


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.