[ 
https://issues.apache.org/jira/browse/OLINGO-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chandan V.A resolved OLINGO-525.
--------------------------------
       Resolution: Not a Problem
    Fix Version/s: V2 2.0.2

> Issue with Post operation for the entity with embedded class that contains  
> timeStamp (TemporalType.TIMESTAMP)
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: OLINGO-525
>                 URL: https://issues.apache.org/jira/browse/OLINGO-525
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>            Reporter: Aleh Autushka
>            Assignee: Chandan V.A
>             Fix For: V2 2.0.2
>
>
> Hello,
> Getting 500 error when try to create an entity that contains an embedded 
> class with a timeStamp:
> <error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";>
> <code />
> <message xml:lang="en">"OData - JPA Runtime: JPA create request is not 
> correct"</message>
> <innererror>class 
> org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException 
> : "org.apache.olingo.odata2.jpa.processor.core.access.data.JPAEntityParser: 
> com.projectx.dal.model.GeneralAttributes.setTimeStamp(java.sql.Timestamp). 
> "</innererror>
>  </error>
> In my case embedded class is GeneralAttributes and it contains an attribute 
> TimeStamp of type TemporalType.TIMESTAMP. If I remove timestamp attribute or 
> move it to higher level everything works fine.
> Br, Aleh



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to