Skip to Content
author's profile photo Former Member
Former Member

Duplication of data in the mobile


I have a native application móvil developed in C# for Windows mobile 6.5 and SUP 2.2.

Looks this application Works well for some days but after any days this application show data duplicated or inconsistent data. I don't have idea what can be happening.

I have a MBO by onDemand and I créated a Data bases called myDataBase.ulj however in de installations folder I can see a two data bases files: mydatabase.ulj and <Application_package_name>.udb, I suspect this is the error because I dont know why I have a two database files and I dont sure if this is the cause for duplicate data.

I have reviewed the CDB database in the server SUP but the data is correct and the data is not duplicate for this reason I think the problema is in the DB local. Thanks for your help!!!😕

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 19, 2014 at 01:56 PM

    Will you please let me know which cache policy you are currently using (on demand, Schedule, DCN, Online), If you are using DCN cache policy, I think this is the issue with DCN policy.

    Please refer below:

    Thanks ,
    Soumya Vaishnavi

    Add comment
    10|10000 characters needed characters exceeded

    • Can you give more information on the issue. You mean to say that you are able to get multiple copies of data when you are doing a findall or any other query associated with the MBOs ? Do you have any load parameter in the MBO, how you are passing it from device ? In the case ondemand, PK can be mapped to load parameter only with partition by user and device ID checked or SK can be mapped to the load parameter. If you are mapping PK to load parameter without checking partition by user it results in unexpected results.

      - Midhun VP