Hi Zaho, Crhis and Miguel:
For example, we are sincronizing the online and offline DBs and something is going wrong, but we have no way of knowing what happened.
The issue is when we synchronize large volume of data. With 7000 records there is no problem but at which we increase the number fails. And we don't have the way to know where is the problem.
For sincronize first we do retrieve the data on the oracle online DB and then we do a rowscopy and update to a SQLite DB.
ll_rows_a_sincro = lds_datos_ori.retrieve() //online transaction. Source
IF lds_datos_ori.RowsCopy(lds_datos_ori.GetRow(), lds_datos_ori.RowCount(), Primary!, lds_datos_dest, 1, Primary!) > 0 THEN
ll_ret = lds_datos_dest.update() //offline transaction. Destiny
IF ll_ret = 1 THEN
ll_rows_sincro = lds_datos_dest.rowcount()
COMMIT USING sqlca;
ELSE
f_informa_error_bd(sqlca.SQLCode, "'(OFF) Sincronizando tabla "+ as_tabla +". Error: " + sqlca.sqlerrtext)
ROLLBACK USING sqlca;
END IF
END IF
The PowerServer log doesn't give us much information or I can't find this kind of information. I attach the Error and Server logs. I thinks that the problem is on the retrieve but I'm not sure and I don't know how to fixe it.
Note: if I execute on my PC I can sincronize 176.000 registers without problems, and it takes 29 seconds. The problem is only on the mobile.
Thanks to everybody,
Oihana
Or simply report it as a bug if a sample application is difficult. Maybe they can still help you out.
Let's see if any expert gives us more clues...