users@jaxb.java.net

Re: _at_XmlTransient ignored

From: bruniak <brunocarle_at_yahoo.com>
Date: Sun, 25 May 2008 21:05:39 -0700 (PDT)

few years later...
Hi, I had a similar problem with jaxb 2.1, @XmlTransient annotation was
ignored because I annotated the actual property. Annotating the getter fixed
the problem.
cheers
bruno



s.michea wrote:
>
> Hi,
>
> I have a strange problem: i'm using Jaxb2.0.4 to create XML representation
> of EJB3 on jboss (developped in NB5.5)
> 1) the @XmlTransient annotations are ignored (they have no effect). I
> don't if this might help, but the fields also have a @Column annotation
> 2) sometimes, when I try to set explicitly the xml name of an element, I
> get a "Class has two properties of the same name" exception. (all my
> fields are private)
>
> Any idea ?
>
> Thank you.
> Sebastien Michea
>

-- 
View this message in context: http://www.nabble.com/%40XmlTransient-ignored-tp7406659p17465461.html
Sent from the java.net - jaxb users mailing list archive at Nabble.com.