facebook

MyEclipse 10.6 – Spring 3 and Hibernate 4, deprecated DAO?

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

    ke3pup
    Member

    hi all,

    I’m try to use Spring 3 and Hibernate 4.

    Using myEclipse wizard i’ve added the capabilities Spring 3.1 and Hibernate 4. My problem is the i can see the generated DAOs are using things like

    “getHibernateTemplate().find(queryString, value);”

    which is part of org.springframework.orm.hibernate3 and not hibernate4.

    I know that in myEclipse Hibernate Wizard it said DAO (Hibernate 3) only so it is not recommeded to generate the DAO’s using myEclipse? Please advise. Thanks

    #331578 Reply

    support-swapna
    Moderator

    ke3pup,

    I have filed a PR for the dev team to work on it. You can see it fixed in 10.7 version which is due for release in a week’s time.

    The MyEclipse Hibernate Wizard generates the DAO for Hibernate 4 too. There is a mistake on the UI side which mentions “Hibernate 3 only”. The same is updated and fixed for 10.7.

    Sorry for inconvenience caused.

    #333160 Reply

    cguzzman
    Member

    I have myeclipse 10.7 but this still have the problem.

    the tool is creating DAOs with hibernate 3 class “HibernateDaoSupport” but I’m using Hibernate 4 and that class is not available any more..
    it should be creating DAOs in a diferent way when Hibernate 4 is in use…

    The only fix that I found at 10.7 is the label changed from “Hibernate 3 only” to “Hibernate 3 and above”, but not change anything else..

    Is there anything else we have to do to get this tool working?

    @support-swapna wrote:

    ke3pup,

    I have filed a PR for the dev team to work on it. You can see it fixed in 10.7 version which is due for release in a week’s time.

    The MyEclipse Hibernate Wizard generates the DAO for Hibernate 4 too. There is a mistake on the UI side which mentions “Hibernate 3 only”. The same is updated and fixed for 10.7.

    Sorry for inconvenience caused.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: MyEclipse 10.6 – Spring 3 and Hibernate 4, deprecated DAO?

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