JAXB Mapping cyclic references to XML

后端 未结 5 883
醉酒成梦
醉酒成梦 2020-11-27 05:38

I have an object graph that contains a cycle. How do I get JAXB to handle this? I tried using the @XmlTransient annotation in the child class but the JAXB mar

5条回答
  •  失恋的感觉
    2020-11-27 06:33

    just look at this tutorial : Mapping cyclic references to XML by jaxb

    I use it an it works well :)

提交回复
热议问题