Hi guys,
I have a small problem.
When we went to the new year, the customer reported that the newly imported bank statements where stil listed as starting with a 9, indicating the year.
I found out that the previous developer had been using an auto-enter custom value for the first part of the strings used, so I decided to change this to 10.
This worked fine but the customer was left with some records with the wrong id’s and asked me to rectify this on the database.
I ran a query updating the already inserted records to change the original 9 to a 10 so that on following calculations it would return the correct value.
To demonstrate, this is the calc returning the field displaying the id:
return s_year_t + bank_uittrekselline_to_bank_uittreksels.s_uittreksel;
I changed the s_year_t to 10 where it was 9 in the database for all records created in the new year.
Since the new version is not on the production server yet, it will still return 9 for the newly created records.
The client has loaded 3 new records, which are marked 9xxx.
Here comes the problem.
They asked me to rectify the records again before we bring the new version to production, however I cant find the records in the database!!
When i do my checks on the database itself the last of the adapted records as well as the two new records are not in the database!
I am a bit lost as to why this is.
I have not restarted Servoy after the database updates, perhaps this is needed?
When you go in the client you do actually see the records there, but they are not to be found in the database.
I can not find anything of interest in the logs that would indicate something being wrong.
It looks like servoy has cashed the data somewhere but has not written it to the database.
would a restart of the server cause it to synch with the database?
Can someone explain to me what happened?
Many thanks in advance for your support on this issue.
Kind regards,
John