Announcement Announcement Module
No announcement yet.
problem in integrating hibernate with spring Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • problem in integrating hibernate with spring


    Iam new to spring and hibernate,pls help me..

    Iam trying to implement standard acegi security in spring for authentication and authorization, I have attached spring configuration.xml as attachment pls see it,


    In AuthenticationManager iam referring userDao bean it uses hibernateTemplate and it uses sessionFactory and it uses dataSource in that we will get connection (iam using mysql db) up to now fine.

    Problem is I have a table in database named user whose columns are username, password. I had written user.hbm.xml and User. Dao class, iam not getting any errors while running but iam getting login failed. Pls help me in how to authenticate by checking in the database using hibernate.


    Manmohan A

  • #2
    This is not the correct forum for this question. This forum is for the Spring Integration (message passing) project.

    You'll probably have better luck asking in the "Data Access" forum.