users@jaxb.java.net

Re: Marshalling hibernate object with lazy loading

From: Kohsuke Kawaguchi <Kohsuke.Kawaguchi_at_Sun.COM>
Date: Mon, 17 Apr 2006 17:10:24 -0700

lucasjordan_at_SoftHome.net wrote:
> Thanks, I assume that is an annotation for the each class (Address in this
> case). Can I make jaxb create the classes with that annotation?

See javadoc [1]. It's also allowed on a package.

[1]
https://jaxb.dev.java.net/nonav/jaxb20-pfd/api/index.html?javax/xml/bind/annotation/XmlAccessorType.html
-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com