<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ETag checking/optimistic locking in Offline OData Tutorial for Android in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/etag-checking-optimistic-locking-in-offline-odata-tutorial-for-android/m-p/12399203#M1995504</link>
    <description>&lt;P&gt;When querying the sample odata service, I cannot see any @odata.etag properties in the response. Therefore I think there is just no support for etags in the sample-odata-v2-espm service.&lt;BR /&gt;Is it possible to use another odata service supporting etags with an trial account?&lt;/P&gt;</description>
    <pubDate>Thu, 15 Jul 2021 13:45:23 GMT</pubDate>
    <dc:creator>former_member756951</dc:creator>
    <dc:date>2021-07-15T13:45:23Z</dc:date>
    <item>
      <title>ETag checking/optimistic locking in Offline OData Tutorial for Android</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/etag-checking-optimistic-locking-in-offline-odata-tutorial-for-android/m-p/12399202#M1995503</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I just completed the &lt;A href="http://developers.sap.com/tutorials/cp-sdk-android-wizard-app-offline.html"&gt;Offline OData Tutorial for Android&lt;/A&gt;. According to the &lt;A href="http://help.sap.com/doc/c2d571df73104f72b9f1b73e06c5609a/Latest/en-US/docs/user-guide/odata/Offline_OData_Handling_Errors_And_Conflicts.html#offline-odata-conflicts"&gt;docs&lt;/A&gt; an optimistic locking approach based on ETags is implemented in the offline api.&lt;/P&gt;
  &lt;P&gt;I would like to test this and therefore I installed the sample app on two devices. After initial sync, I modified the same SalesOrderItem on both devices. Then I synchronized changes on the first device.&lt;BR /&gt;When trying to sync on the second device, I expected a conflict due to a stale ETag, but the sync completed successfully and changes from the first device were overriden.&lt;/P&gt;
  &lt;P&gt;Am I doing something wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 11:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/etag-checking-optimistic-locking-in-offline-odata-tutorial-for-android/m-p/12399202#M1995503</guid>
      <dc:creator>former_member756951</dc:creator>
      <dc:date>2021-07-15T11:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: ETag checking/optimistic locking in Offline OData Tutorial for Android</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/etag-checking-optimistic-locking-in-offline-odata-tutorial-for-android/m-p/12399203#M1995504</link>
      <description>&lt;P&gt;When querying the sample odata service, I cannot see any @odata.etag properties in the response. Therefore I think there is just no support for etags in the sample-odata-v2-espm service.&lt;BR /&gt;Is it possible to use another odata service supporting etags with an trial account?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 13:45:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/etag-checking-optimistic-locking-in-offline-odata-tutorial-for-android/m-p/12399203#M1995504</guid>
      <dc:creator>former_member756951</dc:creator>
      <dc:date>2021-07-15T13:45:23Z</dc:date>
    </item>
  </channel>
</rss>

