<?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>Question Re: how to use odata draft handler without uuid in CAP JAVA? in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaa-p/12402224#M4641887</link>
    <description>&lt;P&gt;Hi Wonseok,&lt;/P&gt;&lt;P&gt;this is just a warning. You can still use non uuid keys as well as composite keys. Note however, that you cannot edit these keys in draft mode. They need to be specified before the draft is created and are fixed afterwards. Therefore the warning.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Marcel&lt;/P&gt;</description>
    <pubDate>Wed, 28 Apr 2021 06:09:09 GMT</pubDate>
    <dc:creator>marcelmerkle</dc:creator>
    <dc:date>2021-04-28T06:09:09Z</dc:date>
    <item>
      <title>how to use odata draft handler without uuid in CAP JAVA?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaq-p/12402223</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I am referring to URL:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;A href="https://cap.cloud.sap/docs/java/fiori-drafts#draftevents"&gt;capire - Fiori Drafts_cap.cloud.sap_2021-04-28&lt;/A&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;Please get back to me on the following feedback:&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;If Entity key elements are not cds.UUID or multiple composite keys, the following warning message is exposed &lt;/STRONG&gt;&lt;B&gt;when building the source&lt;/B&gt;&lt;B&gt;.&lt;/B&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;B&gt;`[WARNING] cm.CertainService.cds:36:12: "&lt;/B&gt;&lt;B&gt;cm.&lt;/B&gt;&lt;B&gt;CertainService&lt;/B&gt;&lt;B&gt;.Master": "@odata.draft.enabled" - Entity key element should be of type "cds.UUID" (in entity:"&lt;/B&gt;&lt;B&gt;cm.&lt;/B&gt;&lt;B&gt;CertainService&lt;/B&gt;&lt;B&gt;.Master")`&lt;/B&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;How can I solve the above problem without cds.UUID?&lt;/STRONG&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 03:56:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaq-p/12402223</guid>
      <dc:creator>WonseokChoe</dc:creator>
      <dc:date>2021-04-28T03:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: how to use odata draft handler without uuid in CAP JAVA?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaa-p/12402224#M4641887</link>
      <description>&lt;P&gt;Hi Wonseok,&lt;/P&gt;&lt;P&gt;this is just a warning. You can still use non uuid keys as well as composite keys. Note however, that you cannot edit these keys in draft mode. They need to be specified before the draft is created and are fixed afterwards. Therefore the warning.&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 06:09:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaa-p/12402224#M4641887</guid>
      <dc:creator>marcelmerkle</dc:creator>
      <dc:date>2021-04-28T06:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to use odata draft handler without uuid in CAP JAVA?</title>
      <link>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaa-p/12402225#M4641888</link>
      <description>&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;I actually tested it. The warnings are issued in @sap/cds@4.x(@sap/cds-compiler@1.x) or lower, but not in higher versions.&lt;/P&gt;&lt;P&gt;For the creation of a new draft record, refer to the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://cap.cloud.sap/docs/java/fiori-drafts#fioridraftnew" target="test_blank"&gt;https://cap.cloud.sap/docs/java/fiori-drafts#fioridraftnew&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wonseok&lt;/P&gt;</description>
      <pubDate>Wed, 28 Apr 2021 09:38:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/how-to-use-odata-draft-handler-without-uuid-in-cap-java/qaa-p/12402225#M4641888</guid>
      <dc:creator>WonseokChoe</dc:creator>
      <dc:date>2021-04-28T09:38:19Z</dc:date>
    </item>
  </channel>
</rss>

