wood burning stoves 2.0*
The moose likes Spring and the fly likes Spring transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring transaction" Watch "Spring transaction" New topic
Author

Spring transaction

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi List[],
I have configured the spring transaction as :



Please tell me is spring transaction configured correctly.


Thanks

Rishi Shehrawat
Ranch Hand

Joined: Aug 11, 2010
Posts: 218

The configuration is not correct.

Please refer to Spring documentation

http://static.springsource.org/spring/docs/3.1.0.M2/spring-framework-reference/html/transaction.html#transaction-declarative-first-example
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Spring transaction
 
Similar Threads
Dependency injection problem
I am getting org.springframework.orm.hibernate3.HibernateSystemException: Unknown entity:
how does rollbackFor work ?
spring transaction management only
HibernateDaoSupport and Transaction