-->
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.  [ 4 posts ] 
Author Message
 Post subject: sample program in Hibernate
PostPosted: Sun Jul 10, 2011 11:23 am 
Newbie

Joined: Sun Jul 10, 2011 11:16 am
Posts: 6
i have made a sample program in hibernate using reverse engineering tools in myeclipse 8.0. it create some abstract classes. can i create interfaces instead of these abstract classes using reverse engineering tools in myeclipse.

please suggest.


Top
 Profile  
 
 Post subject: Re: sample program in Hibernate
PostPosted: Tue Jul 12, 2011 5:21 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
This is probably a question for Hibernate Tools.
If that's the case, you need to modify the templates that Tools are using to generate the code. These come in the tools jar, but you can extract them to a subdirectory and modify them. (You also need to check whether a new version of Tools comes with changed templates, so this incurs a maintenance overhead in the long run.)


Top
 Profile  
 
 Post subject: Re: sample program in Hibernate
PostPosted: Tue Jul 12, 2011 1:46 pm 
Newbie

Joined: Sun Jul 10, 2011 11:16 am
Posts: 6
Thanks for your response.

Can you tell more about this how i use this tool or suggest any link there i can learn how interfaces are created instead of abstract classes using hibernate tools.


Top
 Profile  
 
 Post subject: Re: sample program in Hibernate
PostPosted: Wed Jul 13, 2011 6:01 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Try the Hibernates Tools subforum.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.