[teiid-issues] [JBoss JIRA] (TEIID-2989) Support odata batching

Madhurika Sharma (JIRA) issues at jboss.org
Fri Jun 6 07:34:16 EDT 2014


    [ https://issues.jboss.org/browse/TEIID-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974067#comment-12974067 ] 

Madhurika Sharma edited comment on TEIID-2989 at 6/6/14 7:32 AM:
-----------------------------------------------------------------

Hello Steven,
I am posting using POSTMAN CLIENT to the http://localhost:port/odata/VDB Name/tablename
I have created VDB in teiid 8.4.0 and have used jboss-eap-6.1
Input is :
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" 
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://localhost:port/odata/VDB Name">
<content type="application/xml">
<m:properties>
  <d:col1>10000003</d:col1> 
  <d:col2>100</d:col2> 
 </m:properties>
 <m:properties>
  <d:col1>10000003</d:col1> 
  <d:col2>101</d:col2> 
 </m:properties>
  </content>
</entry>
It is posting the first entry in the JDBC database i. e.  <d:col1>10000003</d:col1> 
  <d:col2>100</d:col2> 
Do i have to make some configuration changes in Teiid for it to take the multiple entry ?


was (Author: madhurika_sharma):
Hello Steven,
I am posting using POSTMAN CLIENT to the http://localhost:port/odata/VDB Name/tablename
I have created VDB in teiid 8.4.0 and have used jboss-eap-6.1
Input is :
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" 
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xml:base="http://localhost:port/odata/VDB Name">
<content type="application/xml">
<m:properties>
  <d:col1>10000003</d:col1> 
  <d:col2>100</d:col2> 
 </m:properties>
 <m:properties>
  <d:col1>10000003</d:col1> 
  <d:col2>101</d:col2> 
 </m:properties>
  </content>
</entry>
It is posting the first entry in the JDBC database i. e.  <d:col1>10000003</d:col1> 
  <d:col2>100</d:col2> 

> Support odata batching
> ----------------------
>
>                 Key: TEIID-2989
>                 URL: https://issues.jboss.org/browse/TEIID-2989
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: OData
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.8
>
>
> We nearly have support for OData batching, but the ODataBatchingProvider is registered as a class and not as an instance.  Otherwise it appears that a multipart/mixed post to an entity/$batch will allow for batching in OData4j.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the teiid-issues mailing list