Solved

with  Hibernate 3.0.1 Spring do not need template

Posted on 2011-09-10
1
313 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
1 Comment
 
LVL 59

Accepted Solution

by:
Kevin Cross earned 500 total points
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

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…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to implement Singleton Design Pattern in Java.

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now