-
1. Re: Posting Multiple entries to database through VDB
shawkins Jun 4, 2014 8:08 AM (in response to madhurika_sharma)What context are you referring to here? OData, JDBC, etc.
-
2. Re: Posting Multiple entries to database through VDB
madhurika_sharma Jun 4, 2014 8:33 AM (in response to madhurika_sharma)OData
-
3. Re: Posting Multiple entries to database through VDB
shawkins Jun 4, 2014 8:52 AM (in response to madhurika_sharma)How are you posting the multiple entities? An odata batch? Any additional information on the scenario and the requests will be helpful.
-
4. Re: Posting Multiple entries to database through VDB
rareddy Jun 4, 2014 9:56 AM (in response to madhurika_sharma)If you are using $batch operations they are currently not supported http://www.odata.org/documentation/odata-version-2-0/batch-processing/ Looks like there is support in the OData4J support through ODataBatchProvider class on the server side. You can log an enhancement request.
Ramesh..
-
5. Re: Posting Multiple entries to database through VDB
shawkins Jun 4, 2014 4:21 PM (in response to rareddy)Our could should work as is to support batching, but we do have a bug in that we are treating the ODataBatchProvider as something that is registered as a class. It needs to be registered as an object/singleton ton, then batching should work.
-
6. Re: Posting Multiple entries to database through VDB
rareddy Jun 4, 2014 5:15 PM (in response to shawkins)You mean register ODataBatchProvider as provider and everything everything works? I just saw the class, should have peeked little more. madhurika can log a enhancement request? I will fix it 8.8.
Ramesh..
-
7. Re: Posting Multiple entries to database through VDB
shawkins Jun 5, 2014 7:57 AM (in response to rareddy)This was captured as [TEIID-2989] Support odata batching - JBoss Issue Tracker
-
8. Re: Posting Multiple entries to database through VDB
shawkins Jun 5, 2014 1:32 PM (in response to shawkins)Upon further examination it looks like it was just a test harness issue with registering the ODataBatchProvider. I think the actual code is just fine. I'll update the test code and confirm that a entity/$batch multipart/mixed post is processed correctly.
Madhurika, can you provide any more details about what you did? Were you using odata batching or some other mechanism?
-
9. Re: Posting Multiple entries to database through VDB
madhurika_sharma Jun 6, 2014 6:18 AM (in response to shawkins)from two days i am not able to POST the full scenarion here. Frequency limit error
-
10. Re: Posting Multiple entries to database through VDB
shawkins Jun 6, 2014 6:54 AM (in response to madhurika_sharma)Can you follow up on [TEIID-2989] Support odata batching - JBoss Issue Tracker - JIRA doesn't have the same restrictions that the forums have.