wood burning stoves 2.0*
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
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Hibernate transaction with Spring