- This topic has 2 replies, 3 voices, and was last updated 12 years ago by cguzzman.
-
AuthorPosts
-
ke3pupMemberhi 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
support-swapnaModeratorke3pup,
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.
cguzzmanMemberI 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.
-
AuthorPosts