Results 1 to 3 of 3

Thread: Upgrade to Spring 3.1.1 and Hibernate 4.

  1. #1

    Default Upgrade to Spring 3.1.1 and Hibernate 4.

    I'm trying to upgrade to Spring 3.1.1 and Hibernate 4.

    How can I use HibernateTemplate now? There are another alternative?

    Thanks

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    13,629

    Default

    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

  3. #3

    Default

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •