Skip to content

How to remove default "Temporal" for xsd:date type for instance ? #45

Description

@matthieugeerebaert
<xs:element name="birthDate" type="xs:date" minOccurs="1" />

I need to map xsd:date to java.lang.String and also use custom Adapter. Fine with

<xjc:javaType name="java.lang.String" xmlType="xs:date"
			adapter="soa.commons.utils.XmlDateAdapter" />

But Hyperjaxb still adds

    @Temporal(TemporalType.DATE)

How can I override default ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions