JAXB and property ordering
It’s possible using: @XmlType (propOrder={“prop1″,”prop2″,…”propN”}) Just uncomment the code like this: //@XmlType(propOrder={“company”, “scheme”, “agreementNumber”}) This is the correct usage.
It’s possible using: @XmlType (propOrder={“prop1″,”prop2″,…”propN”}) Just uncomment the code like this: //@XmlType(propOrder={“company”, “scheme”, “agreementNumber”}) This is the correct usage.
in JAXB that is part of JDK1.6 marshaller.setProperty(Marshaller.JAXB_FRAGMENT, true);