Hi Waltraud,
I initially didn’t have to store the data in my db on the mobile and just did a createXMLDatabase to start the application. But now it has become critical that I store the data, even if the Jeode server stops. That means that I have to do a openXMLDatabase when I start the application.
After changing to openXMLDatabase I could not insert records with the performInsert method, I then changed my code to do the insert with the DOM. Only then did I get an error that the database is read only. I then used openDB with the flags option, specifying that I can write to the database and only then did my inserts work again.
Now when I do a sync, the sync completes with code 100, succesfull but it doesn’t actually sync the data. I think the problem might be with the flags that I’m specifying with opening the database.
Should I be able to sync if I use the default openXMLDatabase() without any flags? If yes, then why doesn’t it work.
Regards, Jean
#Tamino#webMethods#API-Management