Home > Software engineering >  Data loss problem (MFC framework)
Data loss problem (MFC framework)

Time:11-21

For help, the software MFC framework to write! Customer new users to fill in the data, can print out the corresponding data print immediately, click save save, also works without any error reminder! Open again but can't find the user data, and have a serial number, new users are generated in order! Missing serial number is not used in the user take up! This shows, did not prompt any error when saving, but the data is missing! And this problem is not always happen, about half a month or so to a user data is lost! All want to ask about this problem from the place to start to find problems, USES the oracle database, the database itself is the most main is relatively weak and oracle this hardcore, strives for the idea?

CodePudding user response:

Int iRetryTimes=0;
Do
{
Written to the database;
To query.
If (OK) break;
} while (+ + iRetryTimes & lt; 3);

  • Related