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.
posted 9 years ago
This is how I would do it: have a base bean that all your services can extend your transaction service so your transactions are at the service level. I'd be interested to see another way of doing this.