Hard to say without seeing how you've mapped the Hibernate object, but typically this occurs if you haven't set the version property correctly (or incorrectly indicated to hibernate what the version of an unsaved entity is).
Author, Spring Security 3 (the Book), Packt Publishing, 2010
Joined: Oct 07, 2008
now its saving the data in the database.
i set this property true in hibernate config.xml;