Did you research philo's answer? Did flagging the database not to compile fix the problem? Maybe try that first. If you run the app, stop and then rerun, outside of your IDE and the data is still lost, then you are not saving the data. You need to save the data.
"You get that on the big jobs."