This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate with Spring does not commit Data

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Hibernate and Spring in my Spring configuration file i have


and in my DAO class i have



The code runs but whenever i check the database i can't find the code i just commited
 
Kumar Subramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check your auto commit property. also you can check out using spring Transaction Callbacks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic