facebook

Generate Hibernate DAO with interface and implementation.

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #313041 Reply

    mangelo123
    Participant

    This message has not been recovered.

    #313063 Reply

    Brian Fernandes
    Moderator

    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.

    #313525 Reply

    Any update on this?

    Thanks.

    #313539 Reply

    support-swapna
    Moderator

    sfrancolla,

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

    #313721 Reply

    🙂

    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.

    #313722 Reply

    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.

    #313733 Reply

    support-swapna
    Moderator

    sfrancolla,

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

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Generate Hibernate DAO with interface and implementation.

You must be logged in to post in the forum log in