You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Dinesh (Jira)" <ji...@apache.org> on 2022/06/26 16:48:00 UTC

[jira] [Created] (OLINGO-1572) Need request json for create entity with one to many relationship entities

Dinesh  created OLINGO-1572:
-------------------------------

             Summary: Need request json for create entity with one to many relationship entities
                 Key: OLINGO-1572
                 URL: https://issues.apache.org/jira/browse/OLINGO-1572
             Project: Olingo
          Issue Type: Question
            Reporter: Dinesh 


In Odata create entity i am having one to many relationship, with below request json am getting,

 

{ "parentProperty1":"", "parentProperty2":"", "parentProperty3":"", "NavigationProperty":[\{ "childProperty1":"" }] }

org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException: "OData - JPA Runtime: JPA create request is not correct" at org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException.throwException(ODataJPARuntimeException.java:100) ~[olingo-odata2-jpa-processor-api-2.0.12.jar:2.0.12] at org.apache.olingo.odata2.jpa.processor.core.access.data.JPALink.linkJPAEntities(JPALink.java:242) ~[olingo-odata2-jpa-processor-core-2.0.12.jar:2.0.12]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)