Unable to create a Entity new record using Odata4j client tool when Entity has FOREIGN KEY column.

22 views
Skip to first unread message

Ramesh Babu

unread,
May 23, 2015, 1:28:24 PM5/23/15
to odata4j...@googlegroups.com


Can you please provide a sample code for Table has FOREIGN KEY column...how insert data using OData4j client tool.



able to created Entity new record using Post man client tool but not able create the record using OData4j client tool.

{
 "Id":30,
 "Prop":"test",
 "Type":"auto",
 "Value":"test",
 "ControlDetails":{ "__deferred":{ "uri":"Controls(1)"} }
}
Reply all
Reply to author
Forward
0 new messages