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
Solved

with  Hibernate 3.0.1 Spring do not need template

Posted on 2011-09-10
1
336 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
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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
netstat -ano | find "8000" and taskkill /f /pid 2984 3 83
varialbe initialization 11 37
MySqlDump not dumping triggers 1 43
tomcat startup error 5 104
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

828 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