lokesh chenta wrote:If persist is not working, I am not sure how the entities are present in the database to be updated or deleted. Are they being manually created by using some db connecting utility?
If so, I can think of one particular issue. In case of persist, the db has to know what value to use as Id/primary key. But if you manually insert entities in db with some random id, update or delte using that Id will not be an issue with the db since the id is already there.
May be you can use something like auto generation strategy for primary key and then try to persist the entities and see if that works.