Solved

with  Hibernate 3.0.1 Spring do not need template

Posted on 2011-09-10
1
347 Views
Last Modified: 2012-05-12
I was reading
With the Hibernate 3.0.1, Spring can manage the transactions and session management across the application without the template.   Only thing you don't get without Hibernate template is Exception translation..


I was not clear on how spring manages  transactions and session management without template. Are they referring about JDBCTemplate. I was not clear on this topic. Do they mean spring 3.0 instead of hibernate 3.0.1. Thanks in advnace
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 60

Accepted Solution

by:
Kevin Cross earned 500 total points
ID: 36519324
Hi.

They are referring to templates like JdbcTemplate, HibernateTemplate, etc. there I believe; therefore, Yes. And they do mean Hibernate 3.0.1. In Spring 1.0 you could synchronize transactions across an application. An analogy is you have a Database Connection (Hibernate) and a Connection Manager (Spring). To make this function, Spring used templates for Hibernate. With Spring 2.0, you can apparently do this without templates when combined with Hibernate 3.0.1.

The question is should you. (this reference may help clear up your doubt)

Kevin
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This video teaches viewers about errors in exception handling.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question