| Author |
Message |
|
|
Post subject: Generate Hibernate DAO with interface and implementation.
Posted: Dec 01, 2010 - 06:24 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Dec 03, 2010 - 09:38 AM
|
|
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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 04, 2011 - 09:22 AM
|
|
Registered Member

Joined: Dec 25, 2010
Posts: 7
|
|
Any update on this?
Thanks. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 15, 2011 - 07:40 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Jan 15, 2011 - 07:42 PM
|
|
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. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: 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
|
| |
|
|
|
 |
|
|