?
Solved

with  Hibernate 3.0.1 Spring do not need template

Posted on 2011-09-10
1
Medium Priority
?
350 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 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses
Course of the Month11 days, 9 hours left to enroll

752 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