You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2014/07/31 07:51:38 UTC

[jira] [Updated] (OLINGO-386) Not all JPA data types handled correctly

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

Michael Bolz updated OLINGO-386:
--------------------------------

    Assignee: Chandan V.A

> Not all JPA data types handled correctly
> ----------------------------------------
>
>                 Key: OLINGO-386
>                 URL: https://issues.apache.org/jira/browse/OLINGO-386
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.0
>         Environment: Olingo ODATA V2 Producer JPA
>            Reporter: Rudy Gardelein
>            Assignee: Chandan V.A
>
> I have tested the ODATA V2 JPA producer again with V2 2.0.0 in view of the resolution of issue reported with OLINGO-329.  I am still experiencing issues with data types not being handled correctly from MySQL through JPA.   For database connectivity I am using Eclipselink.
> The MySQL data type timestamp is now implemented correctly and is treated correctly by the JPA and the Olingo V2 2.0.0.
> MySQL data type boolean ( bit(1) ) gets translated by the JPA to a byte[] array, and the Olingo JPA library is not handling that data type correctly.
> MySQL data type datetime gets translated by the JPA to a date field, and the Olingo JPA library is not handling that data type correctly.
> I managed to correct the code generated by the Eclipselink/Olingo to have the producer work correctly, but would be better if the code as generated would work from the start.
> Anything in sight that would resolve these issues?
> Many thanks,
> Gardelini



--
This message was sent by Atlassian JIRA
(v6.2#6252)