Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
mangelo123
Post subject: Generate Hibernate DAO with interface and implementation.  PostPosted: Dec 01, 2010 - 06:24 PM
Veteran Member
Veteran Member


Joined: Aug 07, 2003
Posts: 73

I've found a few older posts on this topic. Has ME addressed this yet or can I get this functionality from an open source project? Some moderators have mentioned the Spring Scafolding in the more expensive ME for Spring, but obtaining that version is not possible for me.

I'm looking for:

com.mycomp.dao.CustomerDAO

and

com.mycomp.dao.CustomerDAOImpl which of course implements CustomerDAO.

Thanks.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Support-Brian
Post subject:   PostPosted: Dec 03, 2010 - 09:38 AM
Moderator
Moderator


Joined: Aug 21, 2004
Posts: 2281

mangelo,

I'm afraid this is not possible with MyEclipse right now. I'll file this as an enhancement request. The only workaround of sorts that I can suggest is for you to use Eclipse refactoring after the generation to extract the interface from the DAO.

To be honest, I do not recall any prior request for the interface generation, could you point out a few? I will need to make sure all needs are met in the enhancement.

_________________
Brian
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
sfrancolla
Post subject:   PostPosted: Jan 04, 2011 - 09:22 AM
Registered Member
Registered Member


Joined: Dec 25, 2010
Posts: 7

Any update on this?

Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 05, 2011 - 05:30 AM



Joined: Nov 11, 2010
Posts: 1241

sfrancolla,

The dev team is looking into it.
Let us know if you have any other issues.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
sfrancolla
Post subject:   PostPosted: Jan 15, 2011 - 07:40 PM
Registered Member
Registered Member


Joined: Dec 25, 2010
Posts: 7

:)

Since you ask... I completely customized my reveng templates and process.

Some challenges I had solved for with a script:
1. Solution for customizing destination for new DAOs
2. Solution for customizing destination for new pojos
3. Solution for migrating custom accessor code from preexisting DAOs to new DAOs

Issues I would have liked to manage with your tool but didn't bother putting time into on my script:
1. Customization of dao beanId naming convention (to lowercase the initial character)

Thanks.
 
 View user's profile Send private message  
Reply with quote Back to top
sfrancolla
Post subject:   PostPosted: Jan 15, 2011 - 07:42 PM
Registered Member
Registered Member


Joined: Dec 25, 2010
Posts: 7

Also, it would have been very useful during myeclipse reveng velocity template customization to have had documentation of your helper objects' APIs. Instead, I could only use those methods that had visible examples.
 
 View user's profile Send private message  
Reply with quote Back to top
support-swapna
Post subject:   PostPosted: Jan 17, 2011 - 05:54 AM



Joined: Nov 11, 2010
Posts: 1241

sfrancolla,

Thank you for the suggestions. We will surely work on them as per priority.

_________________
Swapna
MyEclipse Support
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits