Why does "xsd:date" of XML Schema Type mapped "javax.xml.datatype.XMLGregorianCalendar" When Schema-to-Java Mapping of JAXB does.
- by Take
I don't know why does "xsd:date" of XML Schema Type mapped "javax.xml.datatype.XMLGregorianCalendar" When Schema-to-Java Mapping of JAXB does.
Why does "xsd:date" of XML Schema Type mapped "java.util.Date" ?
I guess that JAXB intentionally does its mapping.
I want to know that reason if any.
And if exists it, how to change "xsd:date" of XML Schema Type to "java.util.Date" of Java class without using annotation(ex.@XmlJavaTypeAdapter).
I want to do mashalling and unmarshalling without all annotations.