It's not a secret anymore!
The moose likes Object Relational Mapping 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Hibernate transaction with Spring
 
It's not a secret anymore!