I am trying a simple java program using hibernate. I am trying to add data to a table in db. While executing the program, it does not throw any error. But data is not getting updated. I think i am missing some minor things. Please help me out.