Meaningless Drivel is fun!*
The moose likes Other Application Frameworks and the fly likes Hibernate transaction with Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Hibernate transaction with Spring" Watch "Hibernate transaction with Spring" New topic
Author

Hibernate transaction with Spring

Jim Baker
Ranch Hand

Joined: Mar 10, 2002
Posts: 177
I'm using Hibernate3 with Spring2. Both Hibernate and Spring handles the
transaction, which should be used? Or both?

I'm currently using Hibernate transaction through a datasource. The Hibernate
DAO is injected in the service class through Spring.

I read about Spring's Hibernate template, but did not see any true
values rather than moving java code into Spring xml config files.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hibernate transaction with Spring