on 08-11-2011 2:12 PM
HI Gurus,
I need some clarifications about the query limiting option for the synchronization parameters.
I have developed a test case based on [this documentation page|http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01283.0200/doc/html/fre1250012855299.html] but the parameter is not working as expected.
I have 4 pairs of objects in the CDB with a parameter called "state". 2 object have state=A, 2 state=B and so on. The synch parameter is mapped to "state" and query limiting is NOt enabled (synch param is mapped also to a load param). Here is what I got from a test BB application:
Synch with synchParam=A - MyMBO.findAll().size()=2 Rows transmitted=5 (guess there is some kind of control records). OK
Synch with synchParam=B - MyMBO.findAll().size()=2 Rows transmitted=5 (the previous search is erased from local DB.)
Synch with synchParam=C - MyMBO.findAll().size()=2 Rows transmitted=5 ...
I have the same result with query limiting checked.
Am I missing something? Is it possible to use the syncronization parameters to achieve a "Delta" synchronization (i.e. not erasing previous data)?
Thanks.
Do you have a default value set for the load parameter? I think the only way this could happen is that the CDB is being synched with the EIS initially because there is no default and then the whole result set is there and is returned regardless of the synch parameter. I think it may be a bug because it should not behave that way, but it seems to without a default value for the load parameter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.