[ 
https://issues.apache.org/jira/browse/JOHNZON-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205502#comment-16205502
 ] 

Mark Struberg commented on JOHNZON-77:
--------------------------------------

Ok, so your current problem is that the DTO (or part of it) gets filled via an 
annotated constructor. But then Johnzon tries to apply field/setter injection 
on top of it and override the previously set values with null?

Does  @JohnzonIgnore or @JsonbTransient on those fields solve your problem?

> support ObjectConverter in @JohnzonConverter
> --------------------------------------------
>
>                 Key: JOHNZON-77
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-77
>             Project: Johnzon
>          Issue Type: Improvement
>          Components: Mapper
>    Affects Versions: 0.9.4
>            Reporter: Reinhard Sandtner
>            Assignee: Reinhard Sandtner
>             Fix For: 1.1.5
>
>         Attachments: JOHNZON-77.patch
>
>
> at the moment we support only
> * {{org.apache.johnzon.mapper.Adapter}}
> * {{org.apache.johnzon.mapper.Converter}}
> since we have implemented {{org.apache.johnzon.mapper.ObjectConverter}} we 
> should support this in the annotation too.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to