on 11-10-2012 2:05 PM
Hi all,
I am using SUP 2.1.2 and xcode 4.2(iOS 5),I have to pass multiple rows to table present in mbo.Till now I have created sync parameters on every field of my table present in mbo(as import parameter).On iOS side,am writing the following code...
Mymbosynchronizationparameter *firstparam = [Mymbo getsynchronizationparameter];
firstparam.field1 = @"val1";
firstparam.field2 = @"val2";
[firstparam save];
Mymbosynchronizationparameter *secondparam = [Mymbo getsynchronizationparameter];
secondparam.field1 = @"val11";
secondparam.field2 = @"val21";
[secondparam save];
[MyDB beginsynchronize];
After sync_finish,I saw only my secondparam value is passed to the backend(second val overwrites the first one).
Thanks in advance.
Have you considered moving to SUP 2.1.3 (an upgrade from 2.1.2) which is replication based, i.e. completely different comms to 2.1.2. Replication is all about replicating one table against another row by row and thus does not have the problem you have encountered using Messaging protocol in 2.1.2.
Couple of links to changes in 2.1.3:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.