[teiid-issues] [JBoss JIRA] (TEIID-3906) OData v4 - definition of OData-Isolation header is either being ignored or is not implemented correctly

Ramesh Reddy (JIRA) issues at jboss.org
Mon Jan 25 10:30:01 EST 2016


     [ https://issues.jboss.org/browse/TEIID-3906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy updated TEIID-3906:
--------------------------------
                Parent: TEIID-3932
            Issue Type: Sub-task  (was: Bug)
    Steps to Reproduce:   (was: # Request \[1\]
# Request \[2\]
# Data modification via JDBC
# Request \[2\]

Data returned from steps 2. and 4. are different.

\[1\]
{code:java}
Jsoup.connect("http://localhost:8080/odata4/Redshift/Source/SmallA/?$select=IntKey")
                .header("Authorization", "Basic "+ Base64.encodeBytes(("user:user").getBytes()))
                .header("OData-MaxVersion", "4.0")
                .header("Accept", "application/xml")
                .header("OData-Isolation", "snapshot")
                .header("Prefer", "odata.maxpagesize=10")
{code}

\[2\]
{code:java}
Jsoup.connect("http://localhost:8080/odata4/Redshift/Source/SmallA/?$select=IntKey&$skiptoken=+koj1e+zqsMU--10")
                .header("Authorization", "Basic "+ Base64.encodeBytes(("user:user").getBytes()))
                .header("OData-MaxVersion", "4.0")
                .header("Accept", "application/xml")
                .header("Prefer", "odata.maxpagesize=10")
{code})


> OData v4 - definition of OData-Isolation header is either being ignored or is not implemented correctly
> -------------------------------------------------------------------------------------------------------
>
>                 Key: TEIID-3906
>                 URL: https://issues.jboss.org/browse/TEIID-3906
>             Project: Teiid
>          Issue Type: Sub-task
>          Components: OData
>    Affects Versions: 8.12.3
>         Environment: Teiid - OData v4
>            Reporter: Juraj Duráni
>            Assignee: Ramesh Reddy
>
> Teiid does not process header *OData-Isolation: snapshot* defined in request correctly.
> * if service (Teiid) does not support this option it must return error 412
> * if Teiid does supports this option then it is not processed correctly, because modifications made during request are visbile
> See http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#_Toc406398231



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the teiid-issues mailing list