on 2017 Mar 20 9:37 AM
Hell Experts,
I am working on Windows 8.1 Store App using SMP Native SDK with Offline Odata feature. I am facing issue when i try to perform CRUD operation in UDB while Refresh operation (Server to UDB) is happening in background parallely. This is not happening all the time but whenever this two actions are in sync then i am facing SQL Errors like.
<msg>[-10001] An error occurred executing SQL statement: UPDATE "MVj3L2pKsz4eSipaw/3UnDDpX6g=xxxxxxxxxxx.5" SET lodata_sys_copy = IF ? <> 0 THEN ? ELSE "lodata_sys_copy" ENDIF , lodata_sys_etag = ?, "HPHRf89Wyi7xssIQWvv6vtxSBbA=xxxxxxxxxxx" = ?, "fKMrZjp2p6zTZ4393fgsKlbBOyg=xxxxxxxxxxx" = ?, "8tUVbDEZKtgJjVbmdPLnwj8nnLc=xxxxxxxxxxx" = ?, "Mq0YONNLUr1vIEcsQff7YWRofXE=xxxxxxxxxxx" = ?, "1+trNAoRo2ehvsVeSkIdlJIUdZ8=xxxxxxxxxxx" = ?, "KUvVJuKlTbAU9I1ka5vUXoBzRwg=xxxxxxxxxxx" = ?, "h4f2raCIXv5UOU35zWSijwVomOI=xxxxxxxxxxx" = ?, "ZjI9UDo7e+jb82tNic44tyVB3Nw=xxxxxxxxxxx" = ?, "0t3vQjIi6TnNld3Ds6WGaMz4MR8=xxxxxxxxxxx" = ?, "b5ua881ui4pzws3O03/p9ZIm4n0=xxxxxxxxxxx" = ?, "aumZVSoNLcoU1i4ryLdk03ex3Ww=xxxxxxxxxxx" = ?, "Ot17lhIQLyp9vk7U/ohuB+hHwk0=xxxxxxxxxxx" = ?, "mKfhlW+O+ChsKzHQcvqLoK8UR2E=xxxxxxxxxxx" = ?, "QHNvCZctmOoNpL4bIPQzJEkwGls=xxxxxxxxxxx" = ?, "KxJC+maeixTvQo1MHAuMtgr31iA=xxxxxxxxxxx" = ?, "4c3U11MhYtvsDC+L0TbaEW45C+I=xxxxxxxxxxx" = ?, "8LbHbVWk6dLn76GRV</msg>
1. is it recommended to have CRUD operation during Refresh.
2. do as developer we have any control on UDB to lock and not to perform any operation during refresh which is actually updating values in UDB.
Hi,
how did you solve this problem?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
8 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.