Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matthieugeerebaert opened this issue Oct 17, 2017 · 0 comments

Comments

@matthieugeerebaert
Copy link

matthieugeerebaert commented Oct 17, 2017

<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 ?

@matthieugeerebaert matthieugeerebaert changed the title How to remove defaut "Temporal" fro a xsd:date type ? How to remove default "Temporal" for xsd:date type for instance ? Oct 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant