facebook

Spring DSL objects managed by DAO

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #310270 Reply

    atomz4peace
    Participant

    I am setting up a new project with Spring DSL and created a new Data Access Object. In the Overview tab of the editor, it has a window that lets me select the Domain Object to be managed by this Data Access Object.

    The documentation implies that we can have multiple objects managed by the same one DAO. See 8.2.1 in the myeclipse help. The screen shot shows an Add… button down below the Domain Objects panel. But in the latest 8.6 (just updated) is shows Select and only lets me have one per DAO.

    Is that really correct that we have to create a new dao model for each and every domain object?

    Thanks!

    #310289 Reply

    Heflin Hogan
    Member

    For the moment, yes, if you use the Spring DSL, you can only have a single domain object per DAO. There were some issues with code synchronization with more than one domain object, but we will be revisiting that functionality for upcoming releases.

    You can turn off code generation for DAOs and consolidate the domain objects into a single DAO as a workaround in the meantime.

    Regards,
    Heflin

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Spring DSL objects managed by DAO

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