users@jersey.java.net

Re: XmlTransient annotation not working

From: Thomas Isomäki <tisomaki_at_gmail.com>
Date: Thu, 26 Aug 2010 05:39:53 -0700 (PDT)

Hi,

I faced the same problem with a field, that is I had added the XmlTransient
annotation to its getter method.
This did not work because my field had public visibility. After changing it
to private everything worked like charm again ;)

Hope this helps ...

br, Thomas


-- 
View this message in context: http://jersey.576304.n2.nabble.com/XmlTransient-annotation-not-working-tp4948853p5465424.html
Sent from the Jersey mailing list archive at Nabble.com.