• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

HibernateDaoSupport and Transaction

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
First of all I must say I am new in Spring. I try to a web application with spring+hibernate.
I have some classes

1.
@ManagedBean
@RequestScoped
public class UserBean {} calling service
2.
public class UserBO implements IUserBO{} calling UserDAO and will apply transaction in this class
3.
public class UserDAO extends HibernateDaoSupport implements IUserDAO {}



In this configuration, I want to use transaction in UserBO that is defined in applicationContext.xml., but I didnt do it.

Can you give me a sample how I can configure thr applicationContext.xml.

This is my applicationContext.xml but not working transaction on UserBO methods.



Function is;






 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic