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

Andi Huber resolved ISIS-2914.
------------------------------
    Resolution: Fixed

when referencing an entity type, either the association or the entity
type must be annotated with @XmlJavaTypeAdapter, unless the association
is marked transient with @XmlTransient

> @XmlJavaTypeAdapter on Properties should be optional if the referenced Type 
> has it already
> ------------------------------------------------------------------------------------------
>
>                 Key: ISIS-2914
>                 URL: https://issues.apache.org/jira/browse/ISIS-2914
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Minor
>             Fix For: 2.0.0-M7
>
>
> Dan Haywood ...
> Looking at the adding of @XmlJavaTypeAdapter to the fields, eg 
> EmployeeWithEmployment#employment ... I think it ought to be sufficient 
> instead to annotate the entities eg Employment themselves?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to