[
https://issues.apache.org/jira/browse/OPENJPA-2587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547083#comment-14547083
]
Romain Manni-Bucau commented on OPENJPA-2587:
---------------------------------------------
I got it returning an entity with a date field in a jaxrs serializer
introspects the date which is right for its part but wrong for the overall part.
Since it doesnt make much sense imo it could be enhanced imo.
> date proxying breaks all frameworks
> -----------------------------------
>
> Key: OPENJPA-2587
> URL: https://issues.apache.org/jira/browse/OPENJPA-2587
> Project: OpenJPA
> Issue Type: Bug
> Reporter: Romain Manni-Bucau
>
> Simple json serialization of an entity {id:long, date:Date}:
> {"date":{"date":16,"hours":0,"seconds":0,"month":4,"timezoneOffset":-120,"year":115,"minutes":0,"time":1431727200000,"day":6},"id":301}
> normal date is serialized as a ISO8601 date
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)