How does Delete and Edit works in apache answer

Viewed 3

Hi I've created an application with the help of apache answer now what is happening My application already using some DB but as we know for apache answer we have to create an different db I've create the db and add the respective tables into it like question,answers,comments,revision site_info and config now what is happening. Earlier I've made this application to post the data only but now the requirements changed I've to edit and delete also inside of it .So, i'm deleting the data from both the DBs because related to my application .Now the data got removed from the DBs but when i put the same comment,question, answer I'm getting duplicate submission due to which i'm not able to post the same data after deletion and evertime i need to restart stop the engine of my application remove the cache.db file from it and then restart it practically it is not possible for every update, we need to stop -> remove -> restart .
How can i fix this issue?

1 Answers