I'm trying to upgrade to Spring 3.1.1 and Hibernate 4.
How can I use HibernateTemplate now? There are another alternative?
Thanks
I'm trying to upgrade to Spring 3.1.1 and Hibernate 4.
How can I use HibernateTemplate now? There are another alternative?
Thanks
Don't use HibernateTemplate it hasn't been recommended anymore since Hibernate 3.0.1 (about 2007). Use the getCurrentSession method on the sessionfactory directly. I suggest a read of the reference guide on the hibernate integration and plain hibernate API based daos.
Marten Deinum
Java Consultant / Pragmatist / Open Source Enthousiast / Author
Pro Spring MVC: With Web Flow
Conspect
Have you read the reference guide.
Use the [ code ] tags, young padawan
No problem, I will change my DAO code.
Thanks for the prompt reply.
best regards
Last edited by julio.trindade; Feb 28th, 2012 at 07:00 AM.