[teiid-issues] [JBoss JIRA] (TEIID-4859) OData throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException when primary key is bigdecimal

Marc Shirley (JIRA) issues at jboss.org
Thu Apr 13 15:34:00 EDT 2017


Marc Shirley created TEIID-4859:
-----------------------------------

             Summary: OData throws org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException when primary key is bigdecimal
                 Key: TEIID-4859
                 URL: https://issues.jboss.org/browse/TEIID-4859
             Project: Teiid
          Issue Type: Bug
          Components: OData
         Environment: VDB accessed through OData4 where the primary key is of bigdecimal type.
            Reporter: Marc Shirley
            Assignee: Steven Hawkins


Attempting to access the VDB through OData4 (http://server:8080/odata4/odataFacetError/odataFacetError/fauxdata) results in an error like:

org.apache.olingo.commons.api.edm.EdmPrimitiveTypeException: The value '1.1' does not match the facets' constraints.

Accessing through odata 2 (http://server:8080/odata/odataFacetError/odataFacetError.fauxdata) works correctly.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the teiid-issues mailing list