[ https://issues.apache.org/jira/browse/OLINGO-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinesh updated OLINGO-1572: ---------------------------- Description: Need one sample request json for create entity - POST call - with two entities having one to many relationship. I tried with below sample, but getting exception {color:#4c9aff}{ "parentProperty1":"", "parentProperty2":"", "parentProperty3":"", "NavigationProperty":[ { "childProperty1":"" }{color} {color:#4c9aff}] }{color} org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException: "{color:#de350b}*OData - JPA Runtime: JPA create request is not correc*{color}t" 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] was: Need one sample request json for create entity - POST call - with two entities having one to many relationship. I tried with below sample, but getting exception {color:#4c9aff}{ "parentProperty1":"", "parentProperty2":"", "parentProperty3":"", "NavigationProperty":[\\{ "childProperty1":"" }{color} {color:#4c9aff}] }{color} 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] > 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 > Priority: Major > > Need one sample request json for create entity - POST call - with two > entities having one to many relationship. > > I tried with below sample, but getting exception > {color:#4c9aff}{ "parentProperty1":"", "parentProperty2":"", > "parentProperty3":"", "NavigationProperty":[ > { "childProperty1":"" }{color} > {color:#4c9aff}] }{color} > org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException: > "{color:#de350b}*OData - JPA Runtime: JPA create request is not > correc*{color}t" 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)